On 05. aug. 2016 22:46, Anushri Mishra wrote:
I removed the ansible_connection=local. Now I get this message<10.0.6.216> ESTABLISH SSH CONNECTION FOR USER: adserv <10.0.6.216> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=adserv -o ConnectTimeout=10 -o ControlPath=/home/ec2-user/.ansible/cp/ansible-ssh-%h-%p-%r 10.0.6.216 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1470429880.87-16825574391431 `" && echo ansible-tmp-1470429880.87-16825574391431="` echo $HOME/.ansible/tmp/ansible-tmp-1470429880.87-16825574391431 `" ) && sleep 0'"'"'' *fatal: [10.0.6.216]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}* *Any clue? *
To connect over ssh you need one of two things ssh keys or username and password. Have you provides any of those? If so how?
The message indicate you have not. -- Kai Stian Olstad -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2c1a32ab-e3e2-a8c2-8c34-516a56078403%40olstad.com. For more options, visit https://groups.google.com/d/optout.
