diff options
author | Chris AtLee <catlee@mozilla.com> | 2015-02-27 14:38:45 +0100 |
---|---|---|
committer | Chris AtLee <catlee@mozilla.com> | 2015-02-27 14:38:45 +0100 |
commit | 1bf8f78b188de69cc7051fc8e609138220875931 (patch) | |
tree | c608aa0c4f937d8c39ef27766e7ec984571be3bf /docs | |
parent | Update core modules for docs fix (diff) | |
download | ansible-1bf8f78b188de69cc7051fc8e609138220875931.tar.xz ansible-1bf8f78b188de69cc7051fc8e609138220875931.zip |
Add --list-hosts to man pages.
Fixes #9574
Diffstat (limited to 'docs')
-rw-r--r-- | docs/man/man1/ansible-playbook.1 | 5 | ||||
-rw-r--r-- | docs/man/man1/ansible-playbook.1.asciidoc.in | 3 | ||||
-rw-r--r-- | docs/man/man1/ansible.1 | 5 | ||||
-rw-r--r-- | docs/man/man1/ansible.1.asciidoc.in | 4 |
4 files changed, 17 insertions, 0 deletions
diff --git a/docs/man/man1/ansible-playbook.1 b/docs/man/man1/ansible-playbook.1 index 7ae5308713..085c5f79f1 100644 --- a/docs/man/man1/ansible-playbook.1 +++ b/docs/man/man1/ansible-playbook.1 @@ -147,6 +147,11 @@ is mostly useful for crontab or kickstarts\&. .RS 4 Further limits the selected host/group patterns\&. .RE +.PP +\fB\-\-list\-hosts\fR +.RS 4 +Outputs a list of matching hosts; does not execute anything else\&. +.RE .SH "ENVIRONMENT" .sp The following environment variables may be specified\&. diff --git a/docs/man/man1/ansible-playbook.1.asciidoc.in b/docs/man/man1/ansible-playbook.1.asciidoc.in index 40feb78139..e6b6c680a7 100644 --- a/docs/man/man1/ansible-playbook.1.asciidoc.in +++ b/docs/man/man1/ansible-playbook.1.asciidoc.in @@ -124,6 +124,9 @@ and 'local'. 'local' is mostly useful for crontab or kickstarts. Further limits the selected host/group patterns. +*--list-hosts*:: + +Outputs a list of matching hosts; does not execute anything else. ENVIRONMENT ----------- diff --git a/docs/man/man1/ansible.1 b/docs/man/man1/ansible.1 index facc5e75cc..eb2e8aaeeb 100644 --- a/docs/man/man1/ansible.1 +++ b/docs/man/man1/ansible.1 @@ -180,6 +180,11 @@ Further limits the selected host/group patterns\&. .RS 4 Further limits hosts with a regex pattern\&. .RE +.PP +\fB\-\-list\-hosts\fR +.RS 4 +Outputs a list of matching hosts; does not execute anything else\&. +.RE .SH "INVENTORY" .sp Ansible stores the hosts it can potentially operate on in an inventory file\&. The syntax is one host per line\&. Groups headers are allowed and are included on their own line, enclosed in square brackets that start the line\&. diff --git a/docs/man/man1/ansible.1.asciidoc.in b/docs/man/man1/ansible.1.asciidoc.in index 3f0e0f0cbf..5ac1e49404 100644 --- a/docs/man/man1/ansible.1.asciidoc.in +++ b/docs/man/man1/ansible.1.asciidoc.in @@ -122,6 +122,10 @@ Further limits the selected host/group patterns. Further limits hosts with a regex pattern. +*--list-hosts*:: + +Outputs a list of matching hosts; does not execute anything else. + INVENTORY --------- |