1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix missing --limit in docssite examples

This commit is contained in:
Serge van Ginderachter 2012-10-10 19:38:30 +02:00
parent ae94b050af
commit da92ce796b

View file

@ -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 This is an "or" condition. If you want to further constrain the selection, use --limit, which
also works with ``ansible-playbook``:: 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:: 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::