Difference between revisions of "Ansible-playbook"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
* {{ansible-playbook}} | * {{ansible-playbook}} | ||
* {{Ansible modules}} | * {{Ansible modules}} | ||
− | |||
− | |||
[[Category:Ansible]] | [[Category:Ansible]] |
Revision as of 13:58, 7 November 2022
Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html
ansible-playbook --check
ansible-playbook --help
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
--ask-vault-password
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: