I neglected to add that I can execute "ssh hostname" and it works just
fine, every time, without fail.
On Monday, June 6, 2016 at 10:28:32 AM UTC-4, Robert Haskins wrote:
>
> 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
> build6.ntelx.net | FAILED! => {
> "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"
> }
> wiki07.ntelx.net | FAILED! => {
> "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"
> }
> bdealey07.ntelx.net | SUCCESS => {
> "changed": false,
> "ping": "pong"
> }
> ftp07.ntelx.net | SUCCESS => {
> "changed": false,
> "ping": "pong"
> }
> repo.ntelx.net | SUCCESS => {
> "changed": false,
> "ping": "pong"
>
> What am I doing wrong?
>
--
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/8bc7298d-d785-4b41-bba8-527de829b31e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.