Environments:
- 2 VMs (one VirtualBox with CentOS 7 and one Fusion with Fedora 20)
-Python 2.7.5
-Ansible 1.6.6 installed via PIP
-host file with IP of other VM
-ssh works fine in both directions
-sftp on both vms
-sudo user on both vms
-ssh-key-gen on centos 7 vm and copied to fedora vm in authorized_keys (tested ssh w/o password and it works)
The following command works:
ansible all -m ping -vvvv -c local
The following command fails:
ansible all -m ping -vvvv
--- Begin output ----
192.168.1.233> ESTABLISH CONNECTION FOR USER: cjones
<192.168.1.233> REMOTE_MODULE ping
<192.168.1.233> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/cjones/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', '192.168.1.233', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1405139922.21-267195074145055 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1405139922.21-267195074145055 && echo $HOME/.ansible/tmp/ansible-tmp-1405139922.21-267195074145055'"]
<192.168.1.233> PUT /tmp/tmpa1DdNK TO /home/cjones/.ansible/tmp/ansible-tmp-1405139922.21-267195074145055/ping
192.168.1.233 | FAILED => failed to transfer file to /home/cjones/.ansible/tmp/ansible-tmp-1405139922.21-267195074145055/ping:
Received message too long 1097295214
---- End output ----
Suggestions? What gives? This is taking way too long to evaluate :(