Hello I recently upgraded ssh and broke my Ansible setup.
ssh to the target works using the same creds: # ssh -i /home/ansible_user/.ssh/pk_ansible_user_rsa [email protected] Last login: Tue Aug 25 23:07:38 2015 from 108.x.x.x [ansible_user@apps05 ~]$ [ansible_user@apps05 ~]$ logout Connection to apps05.somedomain.com closed. But when I attempt ansible or ansible-playbook I get the following: # ansible-playbook -vvvv /etc/ansible/ansible-modules/iptables_add_rules.yml -s -C -l apps05.somedomain.com PLAY [Iptables setup] ********************************************************* GATHERING FACTS *************************************************************** <10.80.224.12> ESTABLISH CONNECTION FOR USER: ansible_user <10.80.224.12> REMOTE_MODULE setup CHECKMODE=True <10.80.224.12> EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking no -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/ansible_user/.ssh/pk_ansible_user_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible_user -o ConnectTimeout=10 10.80.224.12 /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=xxxxxxxxxx] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-xxxxxxxxxxxxxxxxg; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'"'"'' fatal: [apps05.somedomain.com] => SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh my ansible.cfg looks like: [defaults] hostfile = /etc/ansible/hosts library = /usr/share/ansible remote_tmp = $HOME/.ansible/tmp pattern = * forks = 5 poll_interval = 15 sudo_user = root transport = smart remote_port = 22 roles_path = /etc/ansible/ansible-modules/roles:/etc/ansible/ansible-galaxy sudo_exe = sudo timeout = 10 remote_user = ansible_user log_path = /var/log/ansible.log private_key_file = /home/ansible_user/.ssh/pk_ansible_user_rsa ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} action_plugins = /usr/share/ansible_plugins/action_plugins callback_plugins = /usr/share/ansible_plugins/callback_plugins connection_plugins = /usr/share/ansible_plugins/connection_plugins lookup_plugins = /usr/share/ansible_plugins/lookup_plugins vars_plugins = /usr/share/ansible_plugins/vars_plugins filter_plugins = /usr/share/ansible_plugins/filter_plugins [paramiko_connection] [ssh_connection] ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking no pipelining = True scp_if_ssh = True [accelerate] accelerate_port = 5099 accelerate_timeout = 30 accelerate_connect_timeout = 5.0 I am at a loss... yrs Michael -- 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/46449463-55ac-4cbc-8ccc-7786f5952b50%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
