Difference between revisions of "Ansible-playbook"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[ansible-playbook --help]]</code>
 
* <code>[[ansible-playbook --help]]</code>
  
* <code>[[ansible-playbook -i]] host_test_1 your_playbook.yml</code>
+
* <code>[[ansible-playbook -i]] my_host_test_1 your_playbook.yml</code>
 
:::<code>-i INVENTORY</code>
 
:::<code>-i INVENTORY</code>
  

Revision as of 08:55, 19 August 2022

Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html

-i INVENTORY



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


Related terms

See also

Advertising: