How To Interrupt a Play?

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

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.

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

Yep, exactly!

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