Good morning I have following question when I want to run Ansible-playbook
by it:
sudo ansible-playbook -i hosts playbook.yml -u karol -k --become -K
I am getting following error:
fatal: [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}
I can ssh to 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 [email protected].
To post to this group, send email to [email protected].
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.