Difference between revisions of "Ansible-playbook"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
* [[Ansible playbooks examples]] | * [[Ansible playbooks examples]] | ||
* <code>[[ANSIBLE HOST KEY CHECKING]]</code> | * <code>[[ANSIBLE HOST KEY CHECKING]]</code> | ||
+ | [[--ask-vault-password]] | ||
== See also == | == See also == |
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
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: