Hello, So how can I solve my issue? (I don't have any idea what I can do with information below)
This might happen if for some reason ansible was previously run on that > host with root privileges > On Thursday, 20 December 2018 22:42:55 UTC+1, Pshem Kowalczyk wrote: > > Hi, > > This might happen if for some reason ansible was previously run on that > host with root privileges (probably using sudo or su without changing the > home directory). Please make sure that /home/karol/.ansible is in fact > writable by the user 'karol'. > > kind regards > Pshem > > > On Thu, 20 Dec 2018 at 22:23, Karol Ołtarzewski <[email protected] > <javascript:>> wrote: > >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/7e25e0c5-257e-452d-867c-099984a5e9d6%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/7e25e0c5-257e-452d-867c-099984a5e9d6%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 [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/24784545-95eb-439e-b2a8-27accd841bd6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
