Hello.
I’ve been trying to get collections running for two days without success. To be honest, I don’t quite understand it yet and unfortunately find the documentation unhelpful. Can anyone help me or explain how it works with an example !?
I’m using the latest AWX version 18.0.0 and I ALWAYS get this message no matter what I try:
config file = None
configured module search path = [‘/home/runner/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/local/lib/python3.8/site-packages/ansible
ansible collection location = /runner/requirements_collections:/home/runner/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible-playbook
python version = 3.8.3 (default, Aug 31 2020, 16:03:14) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
jinja version = 2.10.3
libyaml = True
No config file found; using defaults
setting up inventory plugins
host_list declined parsing /runner/inventory/hosts as it did not pass its verify_file() method
Parsed /runner/inventory/hosts inventory source with script plugin
redirecting (type: modules) ansible.builtin.win_chocolatey to chocolatey.chocolatey.win_chocolatey
ERROR! couldn’t resolve module/action ‘win_chocolatey’. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in ‘/runner/project/windows/roles/install_software/tasks/main.yml’: line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be: