1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #9575 from catlee/manpages

Add --list-hosts to man pages.
This commit is contained in:
Brian Coca 2015-02-27 09:28:13 -05:00
commit 83786c624f
4 changed files with 17 additions and 0 deletions

View file

@ -147,6 +147,11 @@ is mostly useful for crontab or kickstarts\&.
.RS 4 .RS 4
Further limits the selected host/group patterns\&. Further limits the selected host/group patterns\&.
.RE .RE
.PP
\fB\-\-list\-hosts\fR
.RS 4
Outputs a list of matching hosts; does not execute anything else\&.
.RE
.SH "ENVIRONMENT" .SH "ENVIRONMENT"
.sp .sp
The following environment variables may be specified\&. The following environment variables may be specified\&.

View file

@ -124,6 +124,9 @@ and 'local'. 'local' is mostly useful for crontab or kickstarts.
Further limits the selected host/group patterns. Further limits the selected host/group patterns.
*--list-hosts*::
Outputs a list of matching hosts; does not execute anything else.
ENVIRONMENT ENVIRONMENT
----------- -----------

View file

@ -180,6 +180,11 @@ Further limits the selected host/group patterns\&.
.RS 4 .RS 4
Further limits hosts with a regex pattern\&. Further limits hosts with a regex pattern\&.
.RE .RE
.PP
\fB\-\-list\-hosts\fR
.RS 4
Outputs a list of matching hosts; does not execute anything else\&.
.RE
.SH "INVENTORY" .SH "INVENTORY"
.sp .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\&. 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\&.

View file

@ -122,6 +122,10 @@ Further limits the selected host/group patterns.
Further limits hosts with a regex pattern. Further limits hosts with a regex pattern.
*--list-hosts*::
Outputs a list of matching hosts; does not execute anything else.
INVENTORY INVENTORY
--------- ---------