ssh connection closed waiting for a privilege escalation password prompt

After going from 1.7.1 to 1.9.1 I’m getting “ssh connection closed waiting for a privilege escalation password prompt” errors. I tried switching to using the new become directives, but I’m still having problems.

Here’s the simplest test case I’ve come up with:

test.yml:

Hello all,

I have the exact same problem. In a brand new directory, with new ansible.cfg file and hosts file the following playbook fails when I ask the password to do sudo, but only with the file module, the command module works just fine.

`