Pause

Hey,

I’m using the pause module twice in my playbook (one about 1à seconds and the other about 90 secs).
My problem is that when the short pause is done, it continues as it should. But after the 90 secs pause it’s asking me again the passphrase for my ssh connection before running the end of my role.

I know I can use wait_for in order to fix this but i’ seeking to understand why it does that with pause module. If anyone would know or could send me the link to the source code of the module as I wasn’t abble to find it myself !

Are you using a straight ssh connection with username and password, or are you using a public/private key pair with a passphrase?

I wonder if, rather than Ansible asking for your password, the underlying ssh connection credentials were cached, expired, and needed to be refreshed?

For example, I use a smart card and PIN for ssh. After so many minutes, I need to re-enter my PIN. That’s not an Ansible issue.

–EbH