Difference between revisions of "Ansible-playbook"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
== Related terms == | == Related terms == | ||
* <code>[[remote_user:]]</code> | * <code>[[remote_user:]]</code> | ||
+ | * <code>[[hosts:]]</code> | ||
* [[Ansible playbooks examples]] | * [[Ansible playbooks examples]] | ||
* <code>[[ANSIBLE HOST KEY CHECKING]]</code> | * <code>[[ANSIBLE HOST KEY CHECKING]]</code> |
Revision as of 17:37, 16 January 2023
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: