I am running ansible version 2.1.0.0
On Tue, Jun 28, 2016 at 4:01 PM, brendan maynard
wrote:
> I am getting a issue that appears to be a file E & W error on my local
> machine when executing simple ad hoc modules (i.e. ping) -
>
> test@ubuntu:~$ ansible hosts -m ping -
> Using /etc/ansible/ansible.cfg as config file
> Loaded callback minimal of type stdout, v2.0
> <192.168.56.236> ESTABLISH SSH CONNECTION FOR USER: test
> <192.168.56.236> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o
> ControlPersist=60s -o StrictHostKeyChecking=no -o
> KbdInteractiveAuthentication=no -o
> PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
> -o PasswordAuthentication=no -o User=test -o ConnectTimeout=10 -o
> ControlPath=/home/test/.ansible/cp/ansible-ssh-%h-%p-%r 192.168.56.236
> '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo
> /tmp/ansible-tmp-1467143557.54-130391232423944 `" && echo
> ansible-tmp-1467143557.54-130391232423944="` echo
> /tmp/ansible-tmp-1467143557.54-130391232423944 `" ) && sleep 0'"'"''
> }
> 192.168.56.236 | UNREACHABLE! => {
> "changed": false,
> "msg": "Authentication or permission failure. In some cases, you may
> have been able to authenticate and did not have permissions on the remote
> directory. Consider changing the remote temp path in ansible.cfg to a path
> rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo
> /tmp/ansible-tmp-1467143557.54-130391232423944 `\" && echo
> ansible-tmp-1467143557.54-130391232423944=\"` echo
> /tmp/ansible-tmp-1467143557.54-130391232423944 `\" ), exited with result
> 16: Syntax error while parsing '/bin/sh -c '( umask 77 && mkdir -p \"` echo
> /tmp/ansible-tmp-1467143557.54-130391232423944 `\" && echo
> ansible-tmp-1467143557.54-130391232423944=\"` echo
> /tmp/ansible-tmp-1467143557.54-130391232423944 `\" ) && sleep 0''\n\n\nCmd
> exec error.\n",
> "unreachable": true
>
> I can SSH from my machines to the localhost, and from the local host to
> the machines via public key. I can also create the directory above with no
> issue... I have changed the remote_tmp directory to /tmp, and it has 1777
> privileges...
>
> --
> 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/f4918362-884f-4928-88e1-7d7a5838302d%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f4918362-884f-4928-88e1-7d7a5838302d%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 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/CAAyUPk08OmWrBjxWVCmaj0cFBLDUr4CWF-dDLSE98VS93egtoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.