delegate_to not working after fix released

20 views
Skip to first unread message

zoltan...@visma.com

unread,
Feb 29, 2016, 11:05:25 AM2/29/16
to Ansible Project
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.
Reply all
Reply to author
Forward
0 new messages