“pip is the only supported installation method.” - is this still true?
“It is highly recommended that you install molecule in a virtual environment.” - is this still true?
Then the documentation goes on to talk about installing like this:
python3 -m pip install --user “molecule”
I followed the documentation further, created a new role:
molecule init role acme.my_new_role --driver-name docker
cd my_new_role/
cd molecule/default/
molecule test
CRITICAL ‘molecule/default/molecule.yml’ glob failed. Exiting.
give this error.
What steps did I miss or do wrongly?
I am willing to send a pull request to fix the documentation. But I need to know what are the recommended ways of installing molecule and working instructions to setup a new role and test with Molecule.
If that works for you, then something is probably wrong with my environment.
I have used the same file that you mention. I still get the same error as before.
Somehow, molecule and Ansible do not seem to correctly set privileges on the container.
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-1663599793.08011-676381-54041244190778" && echo ansible-tmp-1663599793.08011-676381-54041244190778="echo ~/.ansible/tmp/ansible-tmp-1663599793.08011-676381-54041244190778\