confluentinc / cp-ansible

Ansible playbooks for the Confluent Platform
Apache License 2.0
43 stars 405 forks source link

ansible runs "Create SCRAM Users" in kafka_broker/tasks/main.yml even if zookeeper is not enabled and kraft enabled #1807

Open sameergithub5 opened 1 month ago

sameergithub5 commented 1 month ago

ansible runs "Create SCRAM Users" in kafka_broker/tasks/main.yml even if zookeeper is not enabled and kraft enabled

TASK [kafka_broker : Create SCRAM Users] **** task path: /Users/sameer_modak/ansibledemo/platform/roles/kafka_broker/tasks/main.yml:416 [WARNING]: Collection confluent.platform does not support Ansible version 2.15.12 fatal: [en1d-vcc-kafka1.en1.whitepj.net]: FAILED! => { "msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'zookeeper'. 'dict object' has no attribute 'zookeeper'\n\nThe error appears to be in '/Users/sameer_modak/ansibledemo/platform/roles/kafka_broker/tasks/main.yml': line 416, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# Only supported when zookeeper is enabled\n- name: Create SCRAM Users\n ^ here\n" }