Commit 0bcf7235 authored by Georgios Ouzounis's avatar Georgios Ouzounis
Browse files

LAM-52 Removed hardcoded values in apache-kafka role.

parent 25ac405c
......@@ -117,7 +117,7 @@ log.cleaner.enable=false
# server. e.g. ",,".
# You can also append an optional chroot string to the urls to specify the
# root directory for all kafka znodes.
zookeeper.connect={{ hostvars['master-node']['internal_ip'] }}:2181
zookeeper.connect={{ hostvars[groups['master'] | replace("'","") | replace("[","") | replace(", ","\n") | replace("]","") | replace("","")]['internal_ip'] }}:2181
# Timeout in ms for connecting to zookeeper
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment