I’m running Job through Job Template which have three tasks i.e. Gather Facts on One Local Host(Where Tower is running and Job is Initiated from) and two other remote hosts, For which connectivity is working as I’ve tested in stand alone mode. I’ve created localadmin credential in tower and user in server and created Private/Public Key Pair and uploaded to remote servers and able to connect successfully connect from Tower Host to Remote Servers using local admin.
My Remote Job started through Tower is failing with Incorrect Sudo Password. I can swtich to root from my localadmin user without any issues. But Job is failing with this Error, Do you’ve any idea why it is failing.
This is the error message : <consumer-aws-web1.cloud.infra.buzz> SSH: EXEC sshpass -d8 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o ‘User=“localadmin”’ -o ConnectTimeout=10 -o ControlPath=/tmp/awx_212_rfk_vgn0/cp/86ff2d5cd2 -tt consumer-aws-web1.cloud.infra.buzz ‘/bin/sh -c ‘"’“'sudo -H -S -p “[sudo via ansible, key=qfprhujkykgyaciifxxcmafrkzbzybiq] password:” -u root /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS-qfprhujkykgyaciifxxcmafrkzbzybiq ; /usr/bin/python /home/localadmin/.ansible/tmp/ansible-tmp-1565945826.64-195516655885658/AnsiballZ_setup.py’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
56
Escalation failed
57
fatal: [consumer-aws-web1.cloud.infra.buzz]: FAILED! => {
58
“msg”: “Incorrect sudo password”
This Jobs are initiated through Tower Console.
Thanks in advance