Closed RobertFloor closed 1 year ago
Somehow the problem is in the middleware_automation.amq version, the command
ansible-galaxy collection install middleware_automation.amq
installs version 1.1.0
ansible-galaxy collection build amq
ansible-galaxy collection install middleware_automation-amq-*.tar.gz
instead installs the latest version: 1.1.1
1.1.1 is still unreleased link (expect the release to galaxy today or tomorrow); when you build from the clone you build something you can define as 1.1.1-devel. As for the Unsupported parameters for (ansible.legacy.command) module: warn
, it is something that stopped working in between ansible 2.12 and 2.14, I am currently do a round robin of all our collection to amend
Thanks that should fix it
SUMMARY
We were trying the lattest version. The latest version has a problem with the fast images task. Somehow the command does not work. The error is:
/home/default/.ansible/collections/ansible_collections/middleware_automation/amq/roles/activemq/tasks/fastpackages.yml:4 fatal: [xxxxxx]: FAILED! => {"changed": true, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: executable, _uses_shell, strip_empty_ends, stdin_add_newline, stdin, removes, chdir, argv, creates, _raw_params."}
ISSUE TYPE
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
Run the latest latest amq with the following playbook
EXPECTED RESULTS
ACTUAL RESULTS