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:
commit
83786c624f
4 changed files with 17 additions and 0 deletions
|
@ -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\&.
|
||||
|
|
|
@ -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
|
||||
-----------
|
||||
|
|
|
@ -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\&.
|
||||
|
|
|
@ -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
|
||||
---------
|
||||
|
||||
|
|
Loading…
Reference in a new issue