Difference between revisions of "Ansible-playbook"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
* Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html
+
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 --ask-vault-password]]</code>
 
* <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>
  
Line 12: Line 13:
  
  
*<code>#![[/usr/bin/env]] ansible-playbook</code>
+
*<code>#![[/usr/bin/env ansible-playbook]]</code>
  
 
*<code>#!/usr/bin/env ansible-playbook [[--ask-become-pass]] or -K</code>
 
*<code>#!/usr/bin/env ansible-playbook [[--ask-become-pass]] or -K</code>
Line 23: 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>
 +
* <code>[[--ask-vault-password]]</code>
  
 
== See also ==
 
== See also ==
 
* {{ansible-playbook}}
 
* {{ansible-playbook}}
 
* {{Ansible modules}}
 
* {{Ansible modules}}
* {{Ansible}}
 
 
  
 
[[Category:Ansible]]
 
[[Category:Ansible]]

Latest revision as of 11:08, 8 September 2023

Advertising: