Hello,

Experiencing issues with delegate_to in ansible 2.0, after some research I 
found the ticket https://github.com/ansible/ansible/issues/12127 where my 
issues is described exactly. 
I noticed today that the fix was released in v 2.0.1.0, upgraded my ansible 
but experience the same issue.

<tag_Name_stage_haproxy> ESTABLISH SSH CONNECTION FOR USER: None
<tag_Name_stage_haproxy> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o 
ControlPersist=30m -o ForwardAgent=yes -F /etc/ansible/ssh.config -q -o 
StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o ConnectTimeout=10 -o 
'ControlPath=~/.ssh/mux-%r@%h:%p' tag_Name_stage_haproxy '/bin/sh -c 
'"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo 
BECOME-SUCCESS-dbewvkmyvbwulbfgkhgrzaxhdvldapgz; /bin/sh -c 
'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'LANG=C LC_ALL=C 
LC_MESSAGES=C 
/usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"''"'"''
fatal: [10.0.80.64]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: 
data could not be sent to the remote host. Make sure this host can be 
reached over ssh", "unreachable": true}


$ ansible --version
ansible 2.0.1.0

Need to mention that I use aws tags in my delegation, maybe related ?

Any suggestion on how to make this work would be appreciated, it's really 
causing problems in our automation because it prevents us to remove/add 
machine in haproxy when we deploy.

Thank you,
Zoltan.

-- 
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/82152e01-eac8-474d-b8fc-23beff36fcce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to