Difference between revisions of "Ansible-playbook"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
* 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 --help]]</code>
 
* <code>[[ansible-playbook --help]]</code>
Line 7: Line 5:
 
* <code>ansible-playbook -i host_test_1, your_playbook.yml</code>
 
* <code>ansible-playbook -i host_test_1, your_playbook.yml</code>
 
:::<code>-i INVENTORY</code>
 
:::<code>-i INVENTORY</code>
 
+
* Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html
  
 
* [[Ansible playbooks examples]]
 
* [[Ansible playbooks examples]]

Revision as of 14:45, 11 August 2022

  • ansible-playbook -i host_test_1, your_playbook.yml
-i INVENTORY


  • #!/usr/bin/env ansible-playbook -u OTHER_USERNAME


Related terms

See also

Advertising: