After deploy hook/trigger?

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

Two ways depending on what you exactly want :

http://docs.ansible.com/ansible/pause_module.html

and

http://docs.ansible.com/ansible/playbooks_prompts.html

Regards,