Privilege escalation timeout problem

It’s been a bit since I’ve used ansible, but I’m pretty sure I’ve not completely lost it. I’m working on getting a simple privilege escalation command to ping properly. All my previous work has been communicating to hosts via root, but this is maybe not possible for this new group of servers. Here’s what I’m seeing:

ansible host0 --become --become-method=su --ask-become-pass -m ping
SU password:
rad0.host0.net | FAILED! => {
“failed”: true,
“msg”: "Timeout (12s) waiting for privilege escalation prompt: "
}

So, I did a quick search and found two possible ways to fix this: increase the timeout, or set the transport to paramiko. Neither of these worked. This is on a CentOS 7 box with ansible-2.3.0.0-3.el7.noarch and python-2.7.5-48.el7.x86_64.

Anyone have any ideas? I know the password I’m supplying it correct, as I’ve tested it repeatedly. I’m just not sure what’s going on.

FWIW, the host I’m connecting to is a CentOS 6.9 box with python-2.6.6-66.el6_8.x86_64 and openssh-server-5.3p1-122.el6.x86_64.

2.3.0 had a bug preventing the su prompt from ever matching.

This is fixed in the 2.3.1 release.