Good morning
Is it ok to ask Tower questions here too? I'm trying to run a playbook
(uptime) in ansible tower. I can get it to work with my ssh key at the
CLI, but no luck yet with tower. I think its not presenting my key
correctly. Any guidance is appreciated
Here are the variable I added in the template
ansible_ssh_connection: ssh
ansible_ssh_user: USERNAME
ansible_ssh_private_key_file: /home/USERNAME/.ssh/PRIVKEY
This is the error (sample)
"unreachable": true,
"msg": "Failed to connect to the host via ssh: Warning: Permanently
added 'HOST-dev.domain.edu,x.x.x.x' (ECDSA) to the list of known
hosts.\r\nno such identity: /home/USERNAME/.ssh/PRIVKEY: No such file or
directory\r\[email protected]: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic,password).",
"changed": false
thank you
Jen
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/2a24e274-09e0-4a77-9935-64c2437cf2a1n%40googlegroups.com.