# Rolling updates with pause

**URL:** <https://forum.ansible.com/t/rolling-updates-with-pause/15275>\
**Category:** Ansible Project\
**Created:** [May 20, 2014, 6:17am UTC](https://forum.ansible.com/t/rolling-updates-with-pause/15275 "2014-05-20T06:17:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moti\_Heller](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Moti\_Heller](https://forum.ansible.com/u/Moti_Heller)\
**Post date:** [May 20, 2014, 6:17am UTC](https://forum.ansible.com/t/rolling-updates-with-pause/15275/1 "2014-05-20T06:17:08Z")

</div>

Hi,

I have the following requirement for deploying a java web application on multiple hosts:

1. Copy the deployed artifact (war file) in parallel to the relevant hosts to a temp folder
2. Deploy the app (stop tomcat, delete old app, copy new war from temp folder, start tomcat) one host at a time with a prompt between each host in order to verify that the deployment is successful

Can this be achieved in a single playbook (part of it is parallel and part is serial:1 with a prompt) or 2 playbooks are required? (one for parallel copy and one for serial deployment with prompt)

Thanks,  
Moti.

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [May 20, 2014, 11:35am UTC](https://forum.ansible.com/t/rolling-updates-with-pause/15275/2 "2014-05-20T11:35:40Z")

</div>

​In a single playbook, yes, consisting of two plays, each with a separate  
setting for serial.

Instead of prompting, why not let ansible do some kind of health check with  
the uri module?​

---

<div class="post-metadata">

**Author:** ![Moti\_Heller](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Moti\_Heller](https://forum.ansible.com/u/Moti_Heller)\
**Post date:** [May 20, 2014, 12:45pm UTC](https://forum.ansible.com/t/rolling-updates-with-pause/15275/3 "2014-05-20T12:45:24Z")

</div>

Hi Serge,

for some applications, manual validation is required - thus the requirement for a prompt before doing a deployment to the next node

Thanks,  
Moti.
