# How To Interrupt a Play?

**URL:** <https://forum.ansible.com/t/how-to-interrupt-a-play/15853>\
**Category:** Ansible Project\
**Created:** [August 4, 2014, 6:30pm UTC](https://forum.ansible.com/t/how-to-interrupt-a-play/15853 "2014-08-04T18:30:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiglath](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Post date:** [August 4, 2014, 6:30pm UTC](https://forum.ansible.com/t/how-to-interrupt-a-play/15853/1 "2014-08-04T18:30:20Z")

</div>

The app deployment tasks in our firm require that certain steps be done by sysadmin only, so scripts pause while some file or directory gets created, before resuming.

Is there a way for ansible to cater or work around that? I believe plays cannot be interactive…

Thanks

---

<div class="post-metadata">

**Author:** ![Tomasz\_Kontusz](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@Tomasz\_Kontusz](https://forum.ansible.com/u/Tomasz_Kontusz)\
**Post date:** [August 4, 2014, 6:45pm UTC](https://forum.ansible.com/t/how-to-interrupt-a-play/15853/2 "2014-08-04T18:45:48Z")

</div>

You can use pause or wait\_for modules for that - first will wait for confirmation, second will wait for file/open port to show up.

---

<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:** [August 4, 2014, 6:59pm UTC](https://forum.ansible.com/t/how-to-interrupt-a-play/15853/3 "2014-08-04T18:59:33Z")

</div>

​There is a ​library/utilities/pause module which can wait with a prompt.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [August 4, 2014, 8:18pm UTC](https://forum.ansible.com/t/how-to-interrupt-a-play/15853/4 "2014-08-04T20:18:18Z")

</div>

Yep, exactly!

I have considered implementing WS-HumanTask as a bad April Fools joke.
