mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
fix missing --limit in docssite examples
This commit is contained in:
@@ -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::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user