Become root using become_exe such as sesu

Hi,

I’m working on a job template in Tower that needs to be run as root. On our target hosts, we have it setup so you must use the command “sesu” to become root. Currently, I’m using become_exe in the ansible.cfg file to specify the sesu command. This works when password-less sesu is enabled. However, when password entry is required for sesu, the job times out with the error: “Timeout (32s) waiting for privilege escalation prompt.” Some of our servers have password-less entry on, while other don’t. Another detail: I’m running the job using a user ID as the machine credential (the user is capable of sesu-ing to root).

If there are any suggestions how to get around this error, or if anyone has implemented this in a different way, please let me know.

Thanks.