I'm seeing what appears to be two different definitions of how limits work. 
There is the first one here:

http://docs.ansible.com/ansible/latest/playbooks_best_practices.html

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]


Then there appears to be a different definition here:

http://docs.ansible.com/ansible/latest/intro_patterns.html

You can select a host or subset of hosts from a group by their position. 
For example, given the following group:

[webservers]cobwebwebbingweber

You can refer to hosts within the group by adding a subscript to the group 
name:

webservers[0]       # == cobwebwebservers[-1]      # == weberwebservers[0:1]    
 # == webservers[0],webservers[1]
                    # == cobweb,webbingwebservers[1:]      # == webbing,weber


Is it "--limit boston[1:2], or "--limit webservers[0:1]" for the first 2?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c509e468-efe3-4688-97b6-a2e29fbec7a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to