Commit 1bf8f78b by Chris AtLee

Add --list-hosts to man pages.

Fixes #9574
parent 38a51102
...@@ -147,6 +147,11 @@ is mostly useful for crontab or kickstarts\&. ...@@ -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\&.
......
...@@ -124,6 +124,9 @@ and 'local'. 'local' is mostly useful for crontab or kickstarts. ...@@ -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
----------- -----------
......
...@@ -180,6 +180,11 @@ Further limits the selected host/group patterns\&. ...@@ -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\&.
......
...@@ -122,6 +122,10 @@ Further limits the selected host/group patterns. ...@@ -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
--------- ---------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment