From da92ce796b48ec80e3ead1cfe9bcbc71f5fce805 Mon Sep 17 00:00:00 2001 From: Serge van Ginderachter Date: Wed, 10 Oct 2012 19:38:30 +0200 Subject: [PATCH] fix missing --limit in docssite examples --- docsite/rst/examples.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/examples.rst b/docsite/rst/examples.rst index 6127b229e4e..07d4cb6093b 100644 --- a/docsite/rst/examples.rst +++ b/docsite/rst/examples.rst @@ -224,7 +224,7 @@ As mentioned above, patterns can be strung together to select hosts in more than This is an "or" condition. If you want to further constrain the selection, use --limit, which also works with ``ansible-playbook``:: - $ ansible webservers:dbservers -m command -a "/bin/foo xyz" region + $ ansible webservers:dbservers -m command -a "/bin/foo xyz" --limit region Now let's talk about range selection. Suppose you have 1000 servers in group 'datacenter', but only want to target one at a time. This is also easy::