Hi; I have a Mac Book Air running Yosemite that hosts a Ubuntu 14.04 (server) VirtualBox guest OS.
I'm using docker 1.4.0 on the Ubuntu guest. I'm using Ansible 1.8.2 and I'm using the Ansible docker module. I'm running the ansible playbook as myself (kwolcott, not root) and trying to connect with the developer account on the Ubuntu guest OS using a supplied server.pem ssh key, where the contents of therelated server.pem.pub file is in the developer's .ssh/authorized_keys file. The interesting thing is that this fails on my other Mac (Mac Book Pro) but works fine on a colleague's mac using the same scripts and the same vm (from an external ova image). I previously was just getting an ssh failure, but this is what I get when I add "-vvvv" to the ansible playbook call line in the supporting bash script. Here are the results from the "Gathering Facts" section of my ansible playbook run on the Mac trying to stop+rm+start two docker containers hosted on the VirtualBox Ubuntu guest OS: GATHERING FACTS ****************************** ********************************* <192.168.56.101> ESTABLISH CONNECTION FOR USER: developer <192.168.56.101> REMOTE_MODULE setup <192.168.56.101> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/kwolcott/.ansible/cp/ansible-ssh-%h-%p-%r" -o IdentityFile="keys/server-key.pem" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=developer -o ConnectTimeout=10 192.168.56.101 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1418844221.37-265347041360390 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1418844221.37-265347041360390 && echo $HOME/.ansible/tmp/ansible-tmp-1418844221.37-265347041360390' fatal: [192.168.56.101] => SSH encountered an unknown error. The output was: OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: auto-mux: Trying existing master debug1: Control socket "/Users/kwolcott/.ansible/cp/ansible-ssh-192.168.56.101-22-developer" does not exist debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.56.101 [192.168.56.101] port 22. debug2: fd 3 setting O_NONBLOCK debug1: connect to address 192.168.56.101 port 22: Connection refused ssh: connect to host 192.168.56.101 port 22: Connection refused Thanks, -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADex0xzH_Zi9i3odTpE2Nz_PrA%3D08v8U%3D3NcHsDt9HxGApJogw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.