Difference between revisions of "Ansible playbooks"

From Notes_Wiki
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb>Ansible|Ansible</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[System administration tools]] > [[Ansible|ansible]] > [[Ansible playbooks|Ansible-playbooks]]
=Ansible-playbooks=


To run ansible-playbooks use:
To run ansible-playbooks use:
Line 7: Line 6:
</pre>
</pre>
It is also possible to supply values of various variables using -e "var=value" option.  Here host names in playbook will get dereferenced from provided hosts file.  Trust based ssh should be present between current host and root@&lt;remote-machine&gt; for script to work properly.
It is also possible to supply values of various variables using -e "var=value" option.  Here host names in playbook will get dereferenced from provided hosts file.  Trust based ssh should be present between current host and root@&lt;remote-machine&gt; for script to work properly.
'''CentOS 7.x playbooks are located at [[CentOS 7.x ansible playbooks]]'''


Example playbooks:
Example playbooks:
Line 19: Line 20:
*[[HTTP based ansible-pull configuration without-git]]
*[[HTTP based ansible-pull configuration without-git]]
*[[Configure machines as LDAP client for graphical LDAP user login]]
*[[Configure machines as LDAP client for graphical LDAP user login]]
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[System administration tools]] > [[Ansible|ansible]] > [[Ansible playbooks|Ansible-playbooks]]

Latest revision as of 11:42, 28 July 2022