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

Limit seperator docs.

This commit is contained in:
Michael DeHaan 2012-11-26 18:29:27 -05:00
parent 9870224991
commit c8d004434f

View file

@ -226,6 +226,8 @@ also works with ``ansible-playbook``::
$ ansible webservers:dbservers -m command -a "/bin/foo xyz" --limit region $ ansible webservers:dbservers -m command -a "/bin/foo xyz" --limit region
As with other host patterns, values to limit can be seperated with ";", ":", or ",".
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::
$ ansible webservers[0-99] -m command -a "/bin/foo xyz" $ ansible webservers[0-99] -m command -a "/bin/foo xyz"