# After deploy hook/trigger?

**URL:** <https://forum.ansible.com/t/after-deploy-hook-trigger/19649>\
**Category:** Ansible Project\
**Created:** [October 29, 2015, 2:02pm UTC](https://forum.ansible.com/t/after-deploy-hook-trigger/19649 "2015-10-29T14:02:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph\_Psi](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@Christoph\_Psi](https://forum.ansible.com/u/Christoph_Psi)\
**Post date:** [October 29, 2015, 2:02pm UTC](https://forum.ansible.com/t/after-deploy-hook-trigger/19649/1 "2015-10-29T14:02:52Z")

</div>

Hello,

im searching for a way to run an operation / task but at the very end of the ansible run.  
My concrete case is to reboot the target machine but i really need a yes/no confirm dialog.

Is there any way to achive this?

Greets

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [October 29, 2015, 2:33pm UTC](https://forum.ansible.com/t/after-deploy-hook-trigger/19649/2 "2015-10-29T14:33:08Z")

</div>

Two ways depending on what you exactly want :

[http://docs.ansible.com/ansible/pause\_module.html](http://docs.ansible.com/ansible/pause_module.html)

and

[http://docs.ansible.com/ansible/playbooks\_prompts.html](http://docs.ansible.com/ansible/playbooks_prompts.html)

Regards,
