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

Use podman modules instead of the podman cli? #78

Open
gardar opened this issue Oct 20, 2022 · 3 comments
Open

Use podman modules instead of the podman cli? #78

gardar opened this issue Oct 20, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@gardar
Copy link

gardar commented Oct 20, 2022

Wondering if PR's that replace the shell/command tasks with podman modules would be welcome, or is there any specific reason why this driver is using the podman cli via command/shell?

@gardar
Copy link
Author

gardar commented Oct 21, 2022

Quoting to reply to the question from ansible-community/molecule-podman#142
@ssbarnea ansible-community/molecule-podman#142 (comment)

I can answer this one. Podman collection was not really actively maintained and that gave more flexibility. Things change, I am not against using it, but be sure it is maintained.

Leaving this issue open since I feel like this improvement should be on the todo list.

@ssbarnea ssbarnea added the enhancement New feature or request label Oct 22, 2022
@ssbarnea
Copy link
Member

I am also considering the possibility of making molecule provisioning plugins be just ansible collections but I am not yet sure that would work. If it works, it would mean that you would not have to install python modules but instead just add some collections. Collections such podman or vagrant could include the "glue" code or metadata to expose themselves as also being molecule plugins.

@gardar
Copy link
Author

gardar commented Oct 27, 2022

Having the plugins/drivers as ansible collections sounds like an excellent idea, as it would make it feel more closely integrated in ansible.
With that it would also perhaps make sense to get molecule to install the ansible collection for the required driver automatically.

@ssbarnea ssbarnea transferred this issue from ansible-community/molecule-podman Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants