Ansible-playbook: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=
* [[Ansible_Operations#ansible-playbook|Ansible Operations]]
* [[Ansible_Operations#ansible-playbook|Ansible Operations]]
* [[Ansible_Concepts#Playbooks_and_Plays|Ansible Concepts | Playbooks]]


=Overview=
=Overview=


ansible-playbook
<syntaxhighlight lang='bash'>
ansible-playbook -i ./hosts.yaml <playbook-name>.yaml
</syntaxhighlight>
 
Also see: {{Internal|Ansible_Concepts#Playbooks_and_Plays|Ansible Concepts &#124; Playbooks}}


=Organizatorium=
=Organizatorium=


-e stands for "extra values", and sets ''additional'' variables as key/value or JSON/YAML, in top of the values existent in the playbook.
-e stands for "extra values", and sets ''additional'' variables as key/value or JSON/YAML, in top of the values existent in the playbook.

Latest revision as of 05:36, 5 July 2021

Internal

Overview

ansible-playbook -i ./hosts.yaml <playbook-name>.yaml

Also see:

Ansible Concepts | Playbooks

Organizatorium

-e stands for "extra values", and sets additional variables as key/value or JSON/YAML, in top of the values existent in the playbook.