tickTime=2000 dataDir=/var/lib/zookeeper/ clientPort={{ hadoop['zookeeper.clientport'] }} initLimit=5 syncLimit=2 {% for host in groups['zookeeper_servers'] %} server.{{ hostvars[host].zoo_id }}={{ host }}:{{ hadoop['zookeeper.leader_port'] }}:{{ hadoop['zookeeper.election_port'] }} {% endfor %}