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"pull/4420/head
parent
b2f46753ec
commit
6922a18c80
|
@ -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 New Issue