8000 Ensure external drivers are installed by apatard · Pull Request #3901 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

Ensure external drivers are installed - #3901

Merged
ssbarnea merged 3 commits into
ansible:mainfrom
apatard:bug3883
Jun 13, 2023
Merged

ssbarnea merged 3 commits into
ansible:mainfrom
apatard:bug3883

Conversation

@apatard
@apatard apatard commented Apr 28, 2023
Copy link
Copy Markdown
Contributor

If someone try installing plugins (say docker) with molecule[docker], nothing will get installed as it should be molecule-plugins or molecule-plugins[docker].
This leads to a python backtrace similar to the one found in #3883. This should be handled properly, so check that the driver is in api.drivers() before trying to get the value.

@apatard
apatard requested review from a team as code owners April 28, 2023 13:08
@apatard
apatard requested review from cidrblock, greg-hellings, jseguillon, priyamsahoo and shatakshiiii and removed request for a team April 28, 2023 13:08
Comment thread src/molecule/config.py Resolved
If someone try installing plugins (say docker) with molecule[docker],
nothing will get installed as it should be molecule-plugins or
molecule-plugins[docker].
This leads to a python backtrace similar to the one found in
ansible#3883.
This should be handled properly, so check that the driver is in
api.drivers() before trying to get the value.

Signed-off-by: Arnaud Patard <apatard@hupstream.com>
@ssbarnea ssbarnea changed the title src/molecule/config.py: Ensure external drivers are installed Ensure external drivers are installed Jun 13, 2023
@ssbarnea
ssbarnea enabled auto-merge (squash) June 13, 2023 16:48
@ssbarnea
ssbarnea merged commit 3fbaa68 into ansible:main Jun 13, 2023
kayiwa added a commit to pulibrary/princeton_ansible that referenced this pull request Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0