Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing --limit in docssite examples #1296

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docsite/rst/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down