Difference between revisions of "Ansible-playbook"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html | Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html | ||
* <code>ansible-playbook [[--check]]</code> | * <code>ansible-playbook [[--check]]</code> | ||
+ | |||
+ | * <code>[[ansible-playbook --ask-vault-password]]</code> | ||
* <code>[[ansible-playbook --help]]</code> | * <code>[[ansible-playbook --help]]</code> | ||
Revision as of 13:59, 7 November 2022
Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html
ansible-playbook --check
ansible-playbook -i my_host_test_1 your_playbook.yml
-i INVENTORY
#!/usr/bin/env ansible-playbook
#!/usr/bin/env ansible-playbook --ask-become-pass or -K
#!/usr/bin/env ansible-playbook --ask-pass or -k
#!/usr/bin/env ansible-playbook -u OTHER_USERNAME
Related terms
See also
ansible-playbook
,ansible-playbook --check
,--tags, -i, --vvv
- Ansible modules:
gather_facts, set_fact
,ansible.builtin.file
,lineinfile
,stat
,group
,mount
,git:
,package:
,command:
,shell:
,raw:
,template:
,register:
,user:
, Ansible playbooks examples,tasks:
,lineinfile, blockinfile:
,shell:
,command:
,raw:
,ansible.builtin.file, service:, aws.ecs_taskdefinition, aws.asg, docker_container, kubernetes.core.k8s
,community.
,include_tasks
Advertising: