Hi Rafael, I am lost. I have had it succeed once, running a playbook from AWX which
created a testuser. I have been fiddeling with the formatting, reread the documentation
but to no avail. Suspecting it is due to something wrong with AWX/execution environments.
Below what I do and the results (sorry for the lack of formatting).
This is my requirements.yml:
---
collections:
- freeipa.ansible_freeipa
Syncing project, I see the collection gets installed:
"Downloading
https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collec...
to
/var/lib/awx/projects/.__awx_cache/_18__test_proj/stage/tmp/ansible-local-84cw0_6878/tmpfa6zncf4/freeipa-ansible_freeipa-1.12.0-n_fjrl7q",
"Installing 'freeipa.ansible_freeipa:1.12.0' to
'/var/lib/awx/projects/.__awx_cache/_18__test_proj/stage/requirements_collections/ansible_collections/freeipa/ansible_freeipa'",
"freeipa.ansible_freeipa:1.12.0 was installed successfully"
This is the playbook:
---
- name: Playbook to override an AD user in IdM
hosts: all
become: false
tasks:
- name: Create override and set key
ipaidoverrideuser:
ipaadmin_password: "{{ app_password }}"
idview: test_idview
anchor: bob(a)domail.invalid
This is the error I get constantly:
ERROR! couldn't resolve module/action 'ipaidoverrideuser'. This often
indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/runner/project/test_idoverride.yml': line 7, column
7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: Create override and set key
^ here