Follow on... Should an ssh key put on the controller host from each node host OR just each node host from the controller host?
thx On Saturday, July 12, 2014 8:49:19 AM UTC-4, Chris Jones 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/81ed5224-c38a-430c-ab18-8093d85c65a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
