From a8e1ec585d5d9ee8a3f7633dc689ecfd4383ad3c Mon Sep 17 00:00:00 2001 From: Timothy Appnel Date: Fri, 6 Nov 2015 13:54:39 -0500 Subject: [PATCH] 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. --- docsite/rst/intro_patterns.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/intro_patterns.rst b/docsite/rst/intro_patterns.rst index 669ddd802d2..a97aed42d42 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!