Ansible: Difference between revisions

From Freephile Wiki
No edit summary
basic ansible setup from git
Line 3: Line 3:
== Installation ==
== Installation ==
The preferred way to [http://docs.ansible.com/intro_installation.html install] is to just <code>git clone</code> the source.  Having the source makes it easy to upgrade, and it's self-contained, plus best of all you get all the examples and contribs.   
The preferred way to [http://docs.ansible.com/intro_installation.html install] is to just <code>git clone</code> the source.  Having the source makes it easy to upgrade, and it's self-contained, plus best of all you get all the examples and contribs.   
<source lang="bash">
cd
mkdir ~/bin
cd bin
git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible
source ./hacking/env-setup
</source>
If you see this error message:  
If you see this error message:  
<pre>
<pre>
Line 185: Line 197:
* http://jpmens.net/2012/06/06/configuration-management-with-ansible/
* http://jpmens.net/2012/06/06/configuration-management-with-ansible/
* [http://jinja.pocoo.org/docs/dev/ Jinja] - the template engine for Ansible
* [http://jinja.pocoo.org/docs/dev/ Jinja] - the template engine for Ansible


[[Category:Configuration Management]]
[[Category:Configuration Management]]
[[Category:DevOps]]
[[Category:DevOps]]

Revision as of 11:30, 2 March 2017

  1. Choosing which host(s) to operate on https://docs.ansible.com/ansible/intro_patterns.html