1

There are 1 answers

0
Alex On BEST ANSWER

Configure ansible to provision the hosts one by one by adding this to your playbook:

serial: 1

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

This assumes that your playbook has tasks for bringing the service up after stopping it and before proceeding to the next host.