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

Include molecule-plugins #510

Open
syaghoubi00 opened this issue Dec 30, 2024 · 2 comments
Open

Include molecule-plugins #510

syaghoubi00 opened this issue Dec 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@syaghoubi00
Copy link

It would be nice for the molecule-plugins package to be included by default. Since podman is included in the image, being able to set the driver as podman or containers in molecule.yml would be a good enhancement.

Right now my workaround is building a new image using
Containerfile

FROM ghcr.io/ansible/community-ansible-dev-tools:latest

RUN pip install molecule-plugins

But this feels like it should be unnecessary.

@ssbarnea
Copy link
Member

ssbarnea commented Jan 21, 2025

podman plugin is already include in devspaces image but not in the execution environment one, via https://github.com/search?q=repo%3Aansible%2Fansible-dev-tools%20molecule-plugins&type=code -- that seems like a good opportunity to consolidate these.

At the same time my concern is that we are currently going into a direction of making molecule plugins redundant and discourage their use. Even our examples in molecule avoid their use, see https://ansible.readthedocs.io/projects/molecule/examples/podman/

So, it might prove better to remove podman plugin from devspaces.

@ssbarnea ssbarnea added the bug Something isn't working label Jan 21, 2025
@syaghoubi00
Copy link
Author

Good to know about the molecule plugins. Until the plugins are officially deprecated, in my opinion it would probably make sense to keep them included with the dev-tools.

So - to consolidate:


Or - to be ahead of the curve, just remove the molecule-plugins entirely, which would just be a matter of deleting it from the devspaces/requirements.txt

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
Status: No status
Development

No branches or pull requests

2 participants