mq-ansible icon indicating copy to clipboard operation
mq-ansible copied to clipboard

Unable to run the mq-install role using Ansible Automation Platform[BUG]

Open MQGIT opened this issue 10 months ago • 1 comments

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):

  1. Create a job template with the git repo
  2. Update the files in the repo with your inventory and users
  3. Run the playbook
  4. 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.

MQGIT avatar Mar 28 '24 15:03 MQGIT