@@ -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\&.