You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
AAP job to install MQ on two VMs fails with the below error.
To Reproduce
Steps to reproduce the behaviour (For Example):
Create a job template with the git repo
Update the files in the repo with your inventory and users
Run the playbook
See the following Error
executable location = /usr/bin/ansible-playbook
python version = 3.9.16 (main, Dec 21 2022, 10:57:18) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] (/usr/bin/python3.9)
jinja version = 3.1.2
libyaml = True
Using /etc/ansible/ansible.cfg as config file
SSH password:
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
ERROR! couldn't resolve module/action 'queue_manager'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/runner/project/playbooks/mq-setup.yml': line 17, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: Create a queue manager
^ here
Expected behaviour
Successfully installs MQ on the inventory files.
Screenshots
If applicable, add screenshots to help explain your problem. These can include the error message or screenshots of your config for extra context.
Tell us the platform and version of the machine that ansible is being run on:
OS: AAP running on RHEL9
Inventory machines are Ubuntu and RHEL9
Tell us the version of ansible being used:
Ansible [core 2.14.9]
Tell us the platforms and versions of the machines that the playbook is targetting (Usually supplied in an inventory file):
OS: Ubuntu & RHEL9
Version Ubuntu 22.04.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hi, thanks for raising the issue.
Seems like ansible is not aware of our queue_manager module. When using the github repo you need to also add to your ansible_library variable the path to the repo's module with:
Describe the bug
AAP job to install MQ on two VMs fails with the below error.
To Reproduce
Steps to reproduce the behaviour (For Example):
executable location = /usr/bin/ansible-playbook
python version = 3.9.16 (main, Dec 21 2022, 10:57:18) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] (/usr/bin/python3.9)
jinja version = 3.1.2
libyaml = True
Using /etc/ansible/ansible.cfg as config file
SSH password:
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
ERROR! couldn't resolve module/action 'queue_manager'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/runner/project/playbooks/mq-setup.yml': line 17, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: Create a queue manager
^ here
Expected behaviour
Successfully installs MQ on the inventory files.
Screenshots
If applicable, add screenshots to help explain your problem. These can include the error message or screenshots of your config for extra context.
Tell us the platform and version of the machine that ansible is being run on:
Tell us the version of ansible being used:
Tell us the platforms and versions of the machines that the playbook is targetting (Usually supplied in an inventory file):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: