summaryrefslogtreecommitdiffstats
path: root/docsite
diff options
context:
space:
mode:
authorTimothy Appnel <tima@ansible.com>2015-11-06 19:54:39 +0100
committerTimothy Appnel <tima@ansible.com>2015-11-06 19:54:39 +0100
commita8e1ec585d5d9ee8a3f7633dc689ecfd4383ad3c (patch)
tree9f9a626e997dd20aca9d094a4dba0d9c05230055 /docsite
parentUpdate submodule refs (diff)
downloadansible-a8e1ec585d5d9ee8a3f7633dc689ecfd4383ad3c.tar.xz
ansible-a8e1ec585d5d9ee8a3f7633dc689ecfd4383ad3c.zip
Consistent inventory pattern delimiter in docs
The inventory pattern delimiter used in the examples switches between the comma and colon. While both are valid I've found this throws off new users so I've modified the examples to consistently use a colon, the more common of the two in my experience.
Diffstat (limited to 'docsite')
-rw-r--r--docsite/rst/intro_patterns.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docsite/rst/intro_patterns.rst b/docsite/rst/intro_patterns.rst
index 669ddd802d..a97aed42d4 100644
--- a/docsite/rst/intro_patterns.rst
+++ b/docsite/rst/intro_patterns.rst
@@ -39,7 +39,7 @@ This means the host may be in either one group or the other::
You can exclude groups as well, for instance, all machines must be in the group webservers but not in the group phoenix::
- webservers,!phoenix
+ webservers:!phoenix
You can also specify the intersection of two groups. This would mean the hosts must be in the group webservers and
the host must also be in the group staging::
@@ -48,7 +48,7 @@ the host must also be in the group staging::
You can do combinations::
- webservers,dbservers,&staging,!phoenix
+ webservers:dbservers:&staging:!phoenix
The above configuration means "all machines in the groups 'webservers' and 'dbservers' are to be managed if they are in
the group 'staging' also, but the machines are not to be managed if they are in the group 'phoenix' ... whew!