Maybe you can check about serial
https://docs.ansible.com/ansible/latest/user_guide/playbooks_delegation.html#rolling-update-batch-size
On 07/02/2020 08:08, Rahul Kumar wrote:
Hi Ansible Gurus,
I need some suggestions for performing online opeations on a cluster.
Problem : I have a 5 nodes cluster set up by Ansible . All nodes of
cluster carrying some network traffic.
Now I want to update application software on each node , so that no
traffic is dropped.
If I update all 5 nodes software , exiting on going traffic on those
nodes will be dropped.
So i thought of updating node wise node using --limit option in
ansible CLI. So that during update operation, some nodes active enough
(means no update going on those at that time) to handle upcoming traffic.
This apporach is updating nodes in cluster sequenctially node wise
node so that traffic is not dropped.
is there any better way of doing so with Ansible ?
Regards
Rahul
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAGH8rEwno44y%3DwsOuUDvo%3DZan9n-7_1gFW46-XyPOaTM%2B_shjg%40mail.gmail.com
<https://groups.google.com/d/msgid/ansible-project/CAGH8rEwno44y%3DwsOuUDvo%3DZan9n-7_1gFW46-XyPOaTM%2B_shjg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b1594a70-c2a7-4a33-25db-3c8df90d3aea%40tsgri13.fr.