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!



On Friday, June 19, 2015 at 12:05:37 PM UTC+3, Mark van der Hout wrote:
>
> 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!
>
> On Monday, June 15, 2015 at 2:38:48 PM UTC+2, Tzach Livyatan wrote:
>>
>> 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
>>
>

-- 
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/58827089-b061-4c2d-b01e-18b504aef66d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to