On 08.04.19 11:40, ryad9200...@gmail.com wrote:
> I want that when i run my task, ansible execute only on my_host_1
> and when ansible fish execut task, he execut in second host of my inventory 
> "my_host_2"
> 
> Someone have an idea please ?

https://docs.ansible.com/ansible/latest/user_guide/playbooks_delegation.html#rolling-update-batch-size

Use `serial: 1`

HTH,
Sebastian

-- 
Sebastian Meyer
Linux Consultant & Trainer
Mail: me...@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c4744dbe-a332-7c6f-fcad-4c0906e94e5e%40b1-systems.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to