Add a unit test to subset limiting via a regex, and some doc in man

page.
This commit is contained in:
Gregory Duchatelet 2012-12-02 10:18:58 +01:00
commit 8bc1b69c58
2 changed files with 13 additions and 0 deletions

View file

@ -156,6 +156,11 @@ is mostly useful for crontab or kickstarts\&.
.RS 4
Further limits the selected host/group patterns\&.
.RE
.PP
\fB\-l\fR \fI~REGEX\fR, \fB\-\-limit=\fR\fI~REGEX\fR
.RS 4
Further limits hosts with a regex pattern\&.
.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\&.