Logging into my local system w/ ansible

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!

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.