Ansible-playbook: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
=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.

Revision as of 03:58, 4 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.