# Rolling update with serial, how to delay between each serial?

**URL:** <https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219>\
**Category:** Ansible Project\
**Created:** [December 25, 2013, 7:55am UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219 "2013-12-25T07:55:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![howachen](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@howachen](https://forum.ansible.com/u/howachen)\
**Post date:** [December 25, 2013, 7:55am UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219/1 "2013-12-25T07:55:10Z")

</div>

I am using the serial to limit everytime I can deploy to only one machine at a time, but is it possible to pause say every 10 minutes between each deployment?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [December 25, 2013, 12:44pm UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219/2 "2013-12-25T12:44:37Z")

</div>

end/start the playbook with a pause: action

---

<div class="post-metadata">

**Author:** ![howachen](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@howachen](https://forum.ansible.com/u/howachen)\
**Post date:** [December 25, 2013, 5:21pm UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219/3 "2013-12-25T17:21:44Z")

</div>

Sound like a dirty workaround…I only want the pause ONLY if they are between the “serial”, if I run on one node only then I don’t want the pause, is it possible?

Thanks.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [December 25, 2013, 5:25pm UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219/4 "2013-12-25T17:25:39Z")

</div>

What Brian suggests is a great idea and not dirty in the least.

You can easily include tasks or roles in a different playbook if you have some other use case where you don’t wish to pause.

---

<div class="post-metadata">

**Author:** ![Sankalp\_Khare](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Post date:** [February 10, 2015, 8:07pm UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219/5 "2015-02-10T20:07:25Z")

</div>

@Bryan, how would that help if I had multiple plays in the playbook, only one (or a few) of which I was doing with “serial”, and between whose iterations I would like to have pauses.

Thanks,  
Sankalp
