如何在 bamboo 中同时进行 运行 作业时避免停机

How to avoid downtime while running job simultaneously in bamboo

Service has stopped in both the nodes, I just want everything else to be done simultaneously but there should not be any down time, Could someone please help me to solve this. Job is set up in Bamboo

通过将此添加到您的剧本来配置 ansible 以逐个配置主机:

serial: 1

文档:https://docs.ansible.com/ansible/latest/user_guide/playbooks_strategies.html#setting-the-batch-size-with-serial

这假定您的 playbook 具有在停止服务后和继续到下一个主机之前启动服务的任务。