Collection resources not autodetected in v3.5.x
See original GitHub issueIssue Type
Custom resources installed from a collection during the molecule run are not detected anymore in 3.5.x; the same setup works in v3.4.x
Collection is successfully installed:
Downloading https://gitea.rknet.org/ansible/xoxys.general/releases/download/v2.1.1/xoxys-general-2.1.1.tar.gz to ~/.ansible/tmp/ansible-local-286064kpbiuuus/tmpt5xycanp/xoxys-general-2.1.1-oak5owje
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Installing 'xoxys.general:2.1.1' to '~/.cache/molecule/xoxys.iptables/default/collections/ansible_collections/xoxys/general'
xoxys.general:2.1.1 was installed successfully
INFO Dependency completed successfully.
Example error:
TASK [xoxys.iptables : include_tasks] ******************************************
fatal: [centos7-iptables]: FAILED! => {"reason": "couldn't resolve module/action 'iptables_raw'. This often indicates a misspelling, missing collection, or incorrect module path.
Downgrading to v3.4.x works
Molecule and Ansible details
ansible [core 2.11.3]
config file = None
configured module search path = ['~/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = ~/.local/pipx/venvs/ansible/lib64/python3.9/site-packages/ansible
ansible collection location = ~/.ansible/collections:/usr/share/ansible/collections
executable location = ~/.local/bin/ansible
python version = 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]
jinja version = 3.0.1
libyaml = True
molecule 3.5.1 using python 3.9
ansible:2.11.3
delegated:3.5.1 from molecule
Molecule installation method (one of):
- pip
Ansible installation method (one of):
- pip
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Invalid template errors - Azure Resource Manager
Describes how to resolve invalid template errors when deploying Bicep files or Azure Resource Manager templates (ARM templates).
Read more >Debt Collection Rule FAQs
The questions and answers below pertain to compliance with the Debt Collection Rule. This is a Compliance Aid issued by the Consumer Financial...
Read more >Debt Collection & Debt Collection Scams - State of Michigan
This list is non-exhaustive and if you believe you are being or have been harassed by a debt collector, file a complaint with...
Read more >Specimen Collection - Norovirus - CDC
Norovirus can sometimes be detected in stool specimens that are collected later ... Serum specimens are not recommended for routine laboratory diagnosis of ......
Read more >17. Web MVC framework - Spring
This is not a specific feature of Spring MVC itself, but rather of the ... is detected and automatically used to initialize any...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I’m getting the same/similar error.
Haven’t verified it but I think its to do with this line being removed: https://github.com/ansible-community/molecule/pull/3190/files#diff-32abfdacc4eeea878460d3bf0ae452ab074ca485bab0b0a01b3bb07775ac002dL460
It’s fixed in source, but it is still not in any released version. Me kindly asking when this will be in a release?