Difference between revisions of "Ansible-playbook -i"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
[[ansible-playbook]] -i specify inventory host path or comma separated host list.
+
<code>[[ansible-playbook]] -i</code> specify [[inventory]] host path or comma separated host list.
 +
 
  
 
Examples:
 
Examples:
 
* <code>[[ansible-playbook]] -i my_host_test_1 your_playbook.yml</code>
 
* <code>[[ansible-playbook]] -i my_host_test_1 your_playbook.yml</code>
 +
 +
== Related ==
 +
* <code>[[ansible-inventory --list]]</code>
 +
* <code>[[hosts:]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{ansible-inventory}}
 
* {{ansible-playbook}}
 
* {{ansible-playbook}}
  
 
[[Category:Ansible]]
 
[[Category:Ansible]]

Latest revision as of 17:38, 16 January 2023

ansible-playbook -i specify inventory host path or comma separated host list.


Examples:

Related[edit]

See also[edit]

Advertising: