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
TASK [redpanda.cluster.redpanda_broker : Enable Maintenance Mode] ***********************************************************************************************************************************************
task path: /opt/ansible_core/add-ons/collections/ansible_collections/redpanda/cluster/roles/redpanda_broker/tasks/safe-restart.yml:6
fatal: [vm-redpanda-dif-prod-pau-01]: FAILED! => {"msg": "The conditional check 'ansible_play_hosts > 1' failed. The error was: Unexpected templating type error occurred on ({% if ansible_play_hosts > 1 %} True {% else %} False {% endif %}): '>' not supported between instances of 'list' and 'int'. '>' not supported between instances of 'list' and 'int'\n\nThe error appears to be in '/opt/ansible_core/add-ons/collections/ansible_collections/redpanda/cluster/roles/redpanda_broker/tasks/safe-restart.yml': line 6, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n#\n- name: Enable Maintenance Mode\n ^ here\n"}
Suggested correction : just add " | length " to get the correct value of number of nodes, for example :
When adding a custom cluster configuration like this :
playbook fails at enabling the maintenance mode :
Suggested correction : just add " | length " to get the correct value of number of nodes, for example :
The text was updated successfully, but these errors were encountered: