# delegate\_to not working after fix released

**URL:** <https://forum.ansible.com/t/delegate-to-not-working-after-fix-released/20701>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [February 29, 2016, 8:25am UTC](https://forum.ansible.com/t/delegate-to-not-working-after-fix-released/20701 "2016-02-29T08:25:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoltan.sandor](https://avatars.discourse-cdn.com/v4/letter/z/e19b73/32.png) [@zoltan.sandor](https://forum.ansible.com/u/zoltan.sandor)\
**Post date:** [February 29, 2016, 8:25am UTC](https://forum.ansible.com/t/delegate-to-not-working-after-fix-released/20701/1 "2016-02-29T08:25:25Z")

</div>

Hello,

Experiencing issues with delegate\_to in ansible 2.0, after some research I found the ticket [https://github.com/ansible/ansible/issues/12127](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.
