mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
document --list-hosts
This commit is contained in:
parent
815a5408e0
commit
dad0e0fefb
3 changed files with 10 additions and 1 deletions
|
@ -492,6 +492,10 @@ kept seperate in the counts.</p>
|
|||
use the ‘–verbose’ 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">
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue