New User First Issue discrepancy between ansible & tower

Ansible works, a single playbook “helloworld.yml” works via cmd line. Yet in tower it doesn’t. My hosts file is very simple (just 1 IP).

ansible]$ cat hosts

This is the default ansible ‘hosts’ file.

Did you set up the private key as a credential in Tower? It would appear that you can’t authenticate to the remote host when you run via tower. In the UI, there’s an option for what credential to use for the job template. I don’t have an instance in front of me to walk you through it exactly, but that should set you on the right track.

Really looks like your credentials in Tower aren’t properly setup properly.

Double check that the ssh key or userid/password you’re using in Tower are valid and work with the 10.244.193.34 system.

If that fails, run the play with verbosity set to 3 or 4, and get onto the remote system to review the sshd log files for additional information and post that back here for us to look into.