Problems becoming root on Multi-Tech mlinux

I’m using Ansible to CM Multi-Tech Conduits running mLinux. It’s a Yocto Project based Linux and /bin/sh points to /bin/bash. It has su, but does not have sudo.

Ansible can ping the box if ansible_user is a normal user.

Ansible can ping the box if ansible_user is root.

Ansible can not ping the box if I configure ping to use become = yes, become_method = su. I get a timeout error.

I’ve run the individual commands that Ansible uses for ping (i.e. ping.py) and it does work.

I suspect this has something to do with the handling of the Password: prompt. Any tips for debugging this?

Thanks.

Jeff

You are likely suffering from the situation that the following PR has recently fixed:

https://github.com/ansible/ansible/pull/23710