Difference between revisions of "Ansible-playbook"

From wikieduonline
Jump to navigation Jump to search
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
 +
Man page: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html
 +
* <code>ansible-playbook [[--check]]</code>
 +
 
 +
* <code>[[ansible-playbook --ask-vault-password]]</code>
 +
* <code>[[ansible-playbook --help]]</code>
 +
 
 +
* <code>[[ansible-playbook -i]] my_host_test_1 your_playbook.yml</code>
 +
:::<code>-i INVENTORY</code>
  
  
 
* [[Ansible playbooks examples]]
 
* [[Ansible playbooks examples]]
  
 +
 +
*<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-pass]] or -k</code>
 +
 +
*<code>#!/usr/bin/env ansible-playbook -u OTHER_USERNAME</code>
  
  
 +
== Related terms ==
 +
* <code>[[remote_user:]]</code>
 +
* <code>[[hosts:]]</code>
 +
* [[Ansible playbooks examples]]
 +
* <code>[[ANSIBLE HOST KEY CHECKING]]</code>
 +
* <code>[[--ask-vault-password]]</code>
  
 
== See also ==
 
== See also ==
* {{Ansible}}
+
* {{ansible-playbook}}
 +
* {{Ansible modules}}
 +
 
 +
[[Category:Ansible]]

Latest revision as of 11:08, 8 September 2023

Advertising: