Commit 21381fc5 by Michael DeHaan

Rebuild of everything already merged

parent 73f74168
...@@ -275,7 +275,7 @@ languages: ...@@ -275,7 +275,7 @@ languages:
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -359,7 +359,7 @@ a conf.d file appropriately or something similar. Who knows?</p> ...@@ -359,7 +359,7 @@ a conf.d file appropriately or something similar. Who knows?</p>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -224,7 +224,7 @@ will require <cite>handlers</cite>, <cite>tasks</cite>, and <cite>templates</cit ...@@ -224,7 +224,7 @@ will require <cite>handlers</cite>, <cite>tasks</cite>, and <cite>templates</cit
user: root user: root
vars_files vars_files
- include: vars/main.yml - vars/main.yml
tasks: tasks:
- include: tasks/setup.yml - include: tasks/setup.yml
handlers: handlers:
...@@ -289,7 +289,7 @@ This way you have an audit trail describing when and why you changed the rules a ...@@ -289,7 +289,7 @@ This way you have an audit trail describing when and why you changed the rules a
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -382,7 +382,7 @@ a simplified syntax for this.</p> ...@@ -382,7 +382,7 @@ a simplified syntax for this.</p>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -386,7 +386,7 @@ tasks &#8211; whether for a QA sytem, build system, or anything you can think of ...@@ -386,7 +386,7 @@ tasks &#8211; whether for a QA sytem, build system, or anything you can think of
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -190,7 +190,7 @@ s.parentNode.insertBefore(ga, s); ...@@ -190,7 +190,7 @@ s.parentNode.insertBefore(ga, s);
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -232,7 +232,6 @@ bugs and feature ideas.</p> ...@@ -232,7 +232,6 @@ bugs and feature ideas.</p>
<p>Ansible is trivially easy to run from a checkout, root permissions are not required <p>Ansible is trivially easy to run from a checkout, root permissions are not required
to use it:</p> to use it:</p>
<div class="highlight-python"><pre>$ git clone git://github.com/ansible/ansible.git <div class="highlight-python"><pre>$ git clone git://github.com/ansible/ansible.git
$ git checkout -t origin/devel
$ cd ./ansible $ cd ./ansible
$ source ./hacking/env-setup</pre> $ source ./hacking/env-setup</pre>
</div> </div>
...@@ -249,7 +248,6 @@ $ export ANSIBLE_HOSTS=~/ansible_hosts</pre> ...@@ -249,7 +248,6 @@ $ export ANSIBLE_HOSTS=~/ansible_hosts</pre>
<p>If you are not working from a distribution where Ansible is packaged yet, you can install Ansible <p>If you are not working from a distribution where Ansible is packaged yet, you can install Ansible
using &#8220;make install&#8221;. This is done through <cite>python-distutils</cite>:</p> using &#8220;make install&#8221;. This is done through <cite>python-distutils</cite>:</p>
<div class="highlight-python"><pre>$ git clone git://github.com/ansible/ansible.git <div class="highlight-python"><pre>$ git clone git://github.com/ansible/ansible.git
$ git checkout -t origin/devel
$ cd ./ansible $ cd ./ansible
$ sudo make install</pre> $ sudo make install</pre>
</div> </div>
...@@ -351,7 +349,7 @@ explore, but you already have a fully working infrastructure!</p> ...@@ -351,7 +349,7 @@ explore, but you already have a fully working infrastructure!</p>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -447,7 +447,7 @@ Puppet Labs, and is now with <a class="reference external" href="http://rpath.co ...@@ -447,7 +447,7 @@ Puppet Labs, and is now with <a class="reference external" href="http://rpath.co
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -455,7 +455,7 @@ Stop by the mailing list to inquire about requirements.</p> ...@@ -455,7 +455,7 @@ Stop by the mailing list to inquire about requirements.</p>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -789,7 +789,7 @@ yum pkg=httpd state=installed</pre> ...@@ -789,7 +789,7 @@ yum pkg=httpd state=installed</pre>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -269,28 +269,31 @@ proxy=proxy.atlanta.example.com</pre> ...@@ -269,28 +269,31 @@ proxy=proxy.atlanta.example.com</pre>
<h2>Groups of Groups, and Group Variables<a class="headerlink" href="#groups-of-groups-and-group-variables" title="Permalink to this headline"></a></h2> <h2>Groups of Groups, and Group Variables<a class="headerlink" href="#groups-of-groups-and-group-variables" title="Permalink to this headline"></a></h2>
<p>Using Ansible 0.4, it is possible to make groups of groups and assign <p>Using Ansible 0.4, it is possible to make groups of groups and assign
variables to groups. These variables can be used by /usr/bin/ansible-playbook, but not variables to groups. These variables can be used by /usr/bin/ansible-playbook, but not
/usr/bin/ansible.</p> /usr/bin/ansible:</p>
<blockquote> <div class="highlight-python"><pre>[atlanta]
<div><p>[atlanta]
host1 host1
host2</p>
<p>[raleigh]
host2 host2
host3</p>
<p>[southeast:children] [raleigh]
host2
host3
[southeast:children]
atlanta atlanta
raleigh</p> raleigh
<p>[southeast:vars]
[southeast:vars]
some_server=foo.southeast.example.com some_server=foo.southeast.example.com
halon_system_timeout=30 halon_system_timeout=30
self_destruct_countdown=60 self_destruct_countdown=60
escape_pods=2</p> escape_pods=2
<p>[usa:children]
[usa:children]
southeast southeast
northeast northeast
southwest southwest
southeast</p> southeast</pre>
</div></blockquote> </div>
</div> </div>
<div class="section" id="yaml-inventory-format"> <div class="section" id="yaml-inventory-format">
<h2>YAML Inventory Format<a class="headerlink" href="#yaml-inventory-format" title="Permalink to this headline"></a></h2> <h2>YAML Inventory Format<a class="headerlink" href="#yaml-inventory-format" title="Permalink to this headline"></a></h2>
...@@ -363,7 +366,7 @@ YAML:</p> ...@@ -363,7 +366,7 @@ YAML:</p>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -268,8 +268,9 @@ Just <cite>Control-C</cite> to kill it and run it again with <cite>-K</cite>.</p ...@@ -268,8 +268,9 @@ Just <cite>Control-C</cite> to kill it and run it again with <cite>-K</cite>.</p
other: 'magic'</pre> other: 'magic'</pre>
</div> </div>
<p>These variables can be used later in the playbook like this:</p> <p>These variables can be used later in the playbook like this:</p>
<div class="highlight-python"><pre>$varname</pre> <div class="highlight-python"><pre>$varname or ${varname}</pre>
</div> </div>
<p>The later is useful in the event you need to do something like ${other}_concatenated_value.</p>
<p>In templates, the full power of the Jinja2 templating language is also available, which looks like this:</p> <p>In templates, the full power of the Jinja2 templating language is also available, which looks like this:</p>
<div class="highlight-python"><pre>{{ varname }}</pre> <div class="highlight-python"><pre>{{ varname }}</pre>
</div> </div>
...@@ -471,7 +472,7 @@ Let&#8217;s run a playbook using a parallelism level of 10:</p> ...@@ -471,7 +472,7 @@ Let&#8217;s run a playbook using a parallelism level of 10:</p>
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -501,7 +501,7 @@ logs from ansible-pull runs would be an excellent way to gather and analyze remo ...@@ -501,7 +501,7 @@ logs from ansible-pull runs would be an excellent way to gather and analyze remo
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
...@@ -207,7 +207,7 @@ s.parentNode.insertBefore(ga, s); ...@@ -207,7 +207,7 @@ s.parentNode.insertBefore(ga, s);
</p> </p>
<p> <p>
&copy; Copyright 2012 Michael DeHaan.<br/> &copy; Copyright 2012 Michael DeHaan.<br/>
Last updated on May 19, 2012.<br/> Last updated on Jun 19, 2012.<br/>
</p> </p>
</div> </div>
</footer> </footer>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment