document --list-hosts

This commit is contained in:
Michael DeHaan 2012-08-16 22:08:17 -04:00
parent 815a5408e0
commit dad0e0fefb
3 changed files with 10 additions and 1 deletions

View file

@ -492,6 +492,10 @@ kept seperate in the counts.</p>
use the &#8216;&#8211;verbose&#8217; flag. This is available in Ansible 0.5 and later.</p>
<p>Also, in version 0.5 and later, Ansible playbook output is vastly upgraded if the cowsay
package is installed. Try it!</p>
<p>In version 0.7 and later, to see what hosts would be affected by a playbook before you run it, you
can do this:</p>
<div class="highlight-python"><pre>$ ansible-playbook playbook.yml --list-hosts.</pre>
</div>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<dl class="last docutils">

View file

@ -355,6 +355,11 @@ use the '--verbose' flag. This is available in Ansible 0.5 and later.
Also, in version 0.5 and later, Ansible playbook output is vastly upgraded if the cowsay
package is installed. Try it!
In version 0.7 and later, to see what hosts would be affected by a playbook before you run it, you
can do this::
ansible-playbook playbook.yml --list-hosts.
.. seealso::
:doc:`YAMLSyntax`

File diff suppressed because one or more lines are too long