Logging into my local system w/ ansible

13 views
Skip to first unread message

Chris Bidwell - NOAA Federal

unread,
Jan 30, 2019, 2:25:57 PM1/30/19
to ansible...@googlegroups.com
Hey all,

So I've got a playbook that runs and in my hosts list is the system running the checks themselves...it can't seem to login to itself.  I get this error:  

fatal: [ansible-lx]: 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 target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-1548876106.33-111189805454625 `\" && echo ansible-tmp-1548876106.33-111189805454625=\"` echo ~/.ansible/tmp/ansible-tmp-1548876106.33-111189805454625 `\" ), exited with result 1", "unreachable": true}

I've done what it suggests but didn't seem to make any difference.  

Ideas?

Thanks!

Mauricio Tavares

unread,
Jan 30, 2019, 2:43:26 PM1/30/19
to ansible...@googlegroups.com
On Wed, Jan 30, 2019 at 2:25 PM 'Chris Bidwell - NOAA Federal' via
Ansible Project <ansible...@googlegroups.com> wrote:
>
> Hey all,
>
> So I've got a playbook that runs and in my hosts list is the system running the checks themselves...it can't seem to login to itself. I get this error:
>
> fatal: [ansible-lx]: 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 target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-1548876106.33-111189805454625 `\" && echo ansible-tmp-1548876106.33-111189805454625=\"` echo ~/.ansible/tmp/ansible-tmp-1548876106.33-111189805454625 `\" ), exited with result 1", "unreachable": true}
>
Did you check your log file to see if ansible was able to remote
into the system it is running from?

> I've done what it suggests but didn't seem to make any difference.
>
> Ideas?
>
Sometimes cranking up verbose mode while running ansible (like
-vvv) might give you more clues.

> 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-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHKi8CiuZS4rDstHFqd3uHuwAD2dKGdpXUcomB2AGkQOAXS%2BUA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages