geerlingguy / ansible-for-devops

Ansible for DevOps examples.
https://www.ansiblefordevops.com
MIT License
8.44k stars 3.46k forks source link

Anyone try to run molecule as docker container #390

Open FinalDes opened 3 years ago

FinalDes commented 3 years ago

I have some demo code would like to you guys to test it: dockerfile docker-compose-file and i have follow errors:

fatal: [ubuntu20.04]: UNREACHABLE! => {"changed": false, "msg": "Failed to create temporary directory.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\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp `\"&& mkdir \"` echo ~/.ansible/tmp/ansible-tmp-1614604802.0530245-585-44647191200495 `\" && echo ansible-tmp-1614604802.0530245-585-44647191200495=\"` echo ~/.ansible/tmp/ansible-tmp-1614604802.0530245-585-44647191200495 `\" ), exited with result 1", "unreachable": true}
geerlingguy commented 1 year ago

Thanks; I would suggest asking molecule support questions on Matrix/IRC, or in other forums, this repository is more for issues relating to the book directly.

Sohail130 commented 3 days ago

Did you able to get any update from molecule support using a docker container for molecule test?

Jeff, i followed your tutorial using youtube. In 2024 also, I am still getting same error. :)