So, I've double checked things, I can't see any reason why the first play completes successfully and hits node m7b as defined in vagrant_hosts but the second play hits 127.0.0.1 and m7b. It should be a repeat of the first play.
On Friday, June 6, 2014 6:27:13 PM UTC+1, Richard Shaw wrote: > > > Hi, hit a wall with a bug and verbose output isn't helping > > GATHERING FACTS > *************************************************************** > <127.0.0.1> REMOTE_MODULE setup > <m7b> ESTABLISH CONNECTION FOR USER: vagrant > <m7b> REMOTE_MODULE setup > <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p > $HOME/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029 && chmod a+rx > $HOME/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029 && echo > $HOME/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029'] > <m7b> EXEC ['sshpass', '-d10', 'ssh', '-C', '-tt', '-vvv', '-o', > 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', > 'ControlPath=/Users/Richard/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', > 'StrictHostKeyChecking=no', '-o', 'GSSAPIAuthentication=no', '-o', > 'PubkeyAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', > 'm7b', "/bin/sh -c 'mkdir -p > $HOME/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235 && chmod a+rx > $HOME/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235 && echo > $HOME/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235'"] > <127.0.0.1> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpZjtRFH TO > /Users/Richard/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029/setup > <127.0.0.1> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, > key=xfucmmnngaakrzojuosuatbjpbtjsqvc] password: " -u root /bin/sh -c > '"'"'echo SUDO-SUCCESS-xfucmmnngaakrzojuosuatbjpbtjsqvc; /usr/bin/python > /Users/Richard/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029/setup; > rm -rf /Users/Richard/.ansible/tmp/ansible-tmp-1402074540.16-189669884551029/ > >/dev/null 2>&1'"'"'' > <m7b> PUT /var/folders/65/h42y17593yj3rwt2qx_wwvj80000gn/T/tmpNrRGvN TO > /home/vagrant/.ansible/tmp/ansible-tmp-1402074540.16-275366681857235/setup > failed: [127.0.0.1] => {"failed": true, "parsed": false} > invalid output was: [sudo via ansible, key=xfucmmnngaakrzojuosuatbjpbtjsqvc] > password: > > > More output available here below, any help appreciated. > > https://gist.github.com/aggress/a09d875ff961fbfe4423 > -- 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/36801cd3-653e-4c40-8984-f130f8a7b2ed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.