I am having an issue with Ansible ping failing intermittently. My environment is as follows:
version: ansible 2.2.0 (devel 643a7ec01d) last updated 2016/06/03 13:22:45 (GMT -400)
config settings (changed from defaults):
control_path = %(directory)s/%%C
retries = 2
control host OS version: Windows 7 running babun v1.2.0/cygwin v1.7.35
remote hosts OS version: CentOS 6.8
hosts: all virtual, running on several CentOS 6.8 libvirt/QEMU hosts
The issue occurs whether or not I run with Ansible debug on.
This is the output I get:
{ ~ } » ansible all -m ping
"failed": true,
"msg": "failed to transfer file to /home/rhaskins/.ansible/tmp/ansible-tmp-1465221831.67-12026639274555/ping.py:\n\nmm_send_fd: sendmsg(2): Broken pipe\r\nmux_client_request_session: send fds failed\r\nlost connection\n"
}
"failed": true,
"msg": "failed to transfer file to /home/rhaskins/.ansible/tmp/ansible-tmp-1465221831.71-85630275169614/ping.py:\n\nmm_send_fd: sendmsg(2): Broken pipe\r\nmux_client_request_session: send fds failed\r\nlost connection\n"
}
"changed": false,
"ping": "pong"
}
"changed": false,
"ping": "pong"
}
"changed": false,
"ping": "pong"
What am I doing wrong?