Limit playbook to a subset of servers, by count

Hi
I have Y running servers, and I would like to move a subset X to a different state.

Can I use something like
ansible-playbook site.yml --limit 3

Where 3 is X, the number of server I want to apply the playbook on.

Thanks
Tzach

Hi Tzach,

I think you are looking for this kind of answer from Michael himself:

https://groups.google.com/forum/#!msg/ansible-project/qfoeqytbRE4/SI58rlzeEwMJ

All the best!

Thanks Mark

ansible-playbook example.yml --limit all[0%-10%]

or

ansible-playbook example.yml --limit all[0-4]

Is what I was looking for!