--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/7e40b733-e299-47c8-8392-ca7749bb263a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alex Honor
[SimplifyOps, Inc | a...@simplifyops.com ]
Be sure to comment and vote on Rundeck Feature Development!
12:59:26 | Using /etc/ansible/ansible.cfg as config file | |
12:59:26 | <node1> ESTABLISH SSH CONNECTION FOR USER: elizaldd | |
12:59:26 | <node> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/elizaldd/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=elizaldd -o ConnectTimeout=10 -o ControlPath=/var/lib/rundeck/.ansible/cp/ansible-ssh-%h-%p-%r node1 '/bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"'' | |
12:59:26 | node1 | UNREACHABLE! => { | |
12:59:26 | "changed": false, | |
12:59:26 | "msg": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", | |
12:59:26 | "unreachable": true | |
12:59:26 | } |
Hi David,I'm not quite sure what is preventing it. Have you posted this as an issue at https://github.com/Batix/rundeck-ansible-plugin ?
On Tue, Aug 9, 2016 at 10:47 AM, David Elizalde <david.eli...@gmail.com> wrote:
Hello all, i know it is possible to use rundeck as an interface to ansible, however i'm having a problem where execution of ansible via rundeck fails.
I am using the ansible-plugin for rundeck to execute playbooks/modules but no matter what i try the execution is not successful as it complains about the node "is not reachable through ssh".
i'm suspecting this is because my localhost is executing the ansible commands as the rundeck user (even if i specify my username and ssh keys in the ansible host file).
I know it's probably a dumb question but i'm fairly new to rundeck+ansible. but is there a way i can install the rundeck user in my node and use the ssh keys its using? Or any tips or guides i can use to use rundeck+ansible?
Thanks!
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/7e40b733-e299-47c8-8392-ca7749bb263a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.