Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker driver with new molecule version {'driver': [{'name': ['unallowed value docker']}]} #502

Closed
MosheBlumbergX opened this issue Dec 11, 2020 · 1 comment · Fixed by #503
Assignees
Labels
bug Something isn't working

Comments

@MosheBlumbergX
Copy link
Member

Describe the issue

When installing molecule docker, with molecule version > 3.1.0 the following error takes place when trying to run a playbook test:

{'driver': [{'name': ['unallowed value docker']}]}
pip install molecule docker

To Reproduce

Install molecule version > 3.1.0

pip install molecule docker
$ molecule converge -s plaintext-basic-rhel
..
..

CRITICAL Failed to pre-validate.

{'driver': [{'name': ['unallowed value docker']}]}

This is due to:
ansible/molecule#2811
ansible/molecule#2891

To resolve:

pip3 install molecule-docker
@JumaX JumaX self-assigned this Dec 11, 2020
@JumaX JumaX added the bug Something isn't working label Dec 11, 2020
@domenicbove
Copy link
Contributor

Molecule seems to be changing all the time, in the official docs: https://molecule.readthedocs.io/en/latest/installation.html#install

it says to go with

python3 -m pip install --user "molecule[docker]"

@JumaX JumaX closed this as completed Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants