-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"couldn't resolve module/action 'vagrant'" error when installing molecule-plugins in a fresh environment #301
Comments
I ran into this today trying to get a fresh environment going. Unfortunately the latest version of molecule seems to introduce this error. While you wait for this issue to be investigated, the following version combination got me going.
|
Hi @tkimball83 ! Your combination works, thanks! Still, it would be great to have it working by default with newest versions. |
This most likely due to ansible/molecule#4380 |
@hswong3i possibly. I wanted to find time to double check this assertion but failed so far. After merging the PR to use molecule >= 25.1.0, @ssbarnea mentioned that it was not necessary a good idea as there was possible breakages soon. Looks like it was sonner than I expected. We should possibly require only 25.1, while waiting for the dust to settle ? |
@apatard please see my comment on ansible/molecule#4380 (comment)
|
Thank you so much! I was bashing my head against the wall for hours bc I was getting one error after the error. With you setup everything just works. Thank you. Seriously! |
I ran into this issue too. The workaround of downgrading molecule did resolve the issue, but that's not a permanent solution.
When running the tools from
Edit: Sadly, I just found out this is not the case. I had set the |
Confirmed, same issue / resolution on manjaro.
Could we also add a regression test to ensure this doesn't break on a release unintentionally again? |
Hello!
I'm trying to install molecule-plugins into fresh Python 3.12 venv using pipx (Ubuntu 24.04).
Basically what I do is:
But when I try to run molecule verify using vagrant I get:
This is
pip list
output for my env:I'm not sure if this is a problem with molecule-plugins, or molecule itself.
I believe there is no problem with my setup in general, because if I install old ansible, molecule and molecule-plugins it does work. This is what works:
Is there some kind of compatibility matrix for molecule-plugins, molecule and ansible?
Thanks!
The text was updated successfully, but these errors were encountered: