Try running with -vvvv if you are using the OpenSSH (-c ssh, or the default
on mostly all but CentOS/RHEL control machines) and it will provide some
expanded detail for starters.

Seems to be a permissions problem on your homedir though.


On Sat, Jul 12, 2014 at 8:49 AM, Chris Jones <[email protected]> wrote:

> 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 :(
>
>
>
>  --
> 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/41323394-c166-46a7-b231-c70799164a53%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/41323394-c166-46a7-b231-c70799164a53%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgyAykpCVCt9h%3DFmxhH_Wc%3DhytPAK6AWbOg%3Dd1aZGFXhPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to