-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
SUMMARY
I ran the install on a new RHEL9 box today, which didn't pin the ansible-core version, so I got 2.19 - confused for a few hours, I eventually realised that the below error is probably due to the 2.19. Works fine/expected on 2.18.
This is just an FYI:
TASK [redhat.amq_broker.amq_broker : Validate local custom template] *************************************************************************************************************************************************
task path: /home/ec2-user/.ansible/collections/ansible_collections/redhat/amq_broker/roles/amq_broker/tasks/prereqs.yml:96
[ERROR]: Task failed: Conditional result was '# Ansible managed # Licensed to [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result.
Task failed.
Origin: /home/ec2-user/.ansible/collections/ansible_collections/redhat/amq_broker/roles/amq_broker/tasks/prereqs.yml:96:3
94 run_once: true
95
96 - name: Validate local custom template
^ column 3
<<< caused by >>>
Conditional result was '# Ansible managed # Licensed to [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result.
Origin: /home/ec2-user/.ansible/collections/ansible_collections/redhat/amq_broker/roles/amq_broker/tasks/prereqs.yml:99:9
97 ansible.builtin.assert:
98 that:
99 - lookup('ansible.builtin.template', amq_broker_logger_config_template)
^ column 9
Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option.
fatal: [ip-11-0-1-6.eu-west-2.compute.internal]: FAILED! => {
"changed": false,
"msg": "Task failed: Conditional result was '# Ansible managed # Licensed to [...]' of type 'str', which evaluates to True. Conditionals must have a boolean result."
}
Metadata
Metadata
Assignees
Labels
No labels