sudo ansible-playbook -i hosts playbook.yml -u karol -k --become -Kfatal: [10.0.2.15]: 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 /home/karol/.ansible/tmp/ansible-tmp-1545340576.76-196881409171208 `\" && echo ansible-tmp-1545340576.76-196881409171208=\"` echo /home/karol/.ansible/tmp/ansible-tmp-1545340576.76-196881409171208 `\" ), exited with result 1", "unreachable": true} 10.0.2.15 without any issue.
What may be reason of my problem?
I was following steps from this place: https://github.com/openwisp/ansible-openwisp2#ansible-openwisp2
--
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/7e25e0c5-257e-452d-867c-099984a5e9d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This might happen if for some reason ansible was previously run on that host with root privileges