-
Notifications
You must be signed in to change notification settings - Fork 23
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
Couldn't resolve module/action 'community.docker.docker_container' #326
Comments
Can you provide me a link to your github actions? |
Here is the action in question: https://github.com/anarion80/ansible-nas/blob/main/.github/workflows/integration.yml |
These ansible collections should be installed in a
As a workaround you can create a symlink of |
Thanks! It seems to be working with this workaround: https://github.com/anarion80/ansible-nas/actions/runs/8139600112 (although I need to now fix all the neglected individual tests). So although I was hoping for your action to just include the community module(s) or full ansible inside, I can take this and you can close the issue. |
I just ran into this problem in a CI run for one of my roles: https://github.com/dbrennand/ansible-role-autorestic/actions/runs/9362630720/job/25771742820 The issue for me was because I modified the default molecule It seems that the |
I've been running the action for a while now, and recently (couple months?) is keeps failing with the following error:
So it's as if Ansible within the action container can't see the module. I'm not the expert in dependency management here, but I can see
ansible-core
in thepoetry.lock
file and I can't see this community module added anywhere to this "minimalist language and runtime package" thatansible-core
is.One other github molecule action seems to be requiring the full "ansible" package:
https://github.com/robertdebock/docker-github-action-molecule/blob/master/requirements.txt
So is this a bug in
molecule-action
? If not, how else can I addcomunity.docker.docker_container
to my tests, in general, not to each role?The text was updated successfully, but these errors were encountered: