mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update playbook_best_practices.rst, range notation (#25959)
Update --limit range notation. Current notation triggers "[WARNING]: Use [x:y] inclusive subscripts instead of [x-y] which has been removed"
This commit is contained in:
parent
b2f46753ec
commit
6922a18c80
1 changed files with 2 additions and 2 deletions
|
@ -296,8 +296,8 @@ What about just my webservers in Boston?::
|
|||
|
||||
What about just the first 10, and then the next 10?::
|
||||
|
||||
ansible-playbook -i production webservers.yml --limit boston[1-10]
|
||||
ansible-playbook -i production webservers.yml --limit boston[11-20]
|
||||
ansible-playbook -i production webservers.yml --limit boston[1:10]
|
||||
ansible-playbook -i production webservers.yml --limit boston[11:20]
|
||||
|
||||
And of course just basic ad-hoc stuff is also possible.::
|
||||
|
||||
|
|
Loading…
Reference in a new issue