Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ apt_cache_timeout: 3600
zookeeper_register_path_env: false

client_port: 2181
client_port_address: ~
init_limit: 5
sync_limit: 2
tick_time: 2000
Expand Down
3 changes: 3 additions & 0 deletions templates/zoo.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ tickTime={{ tick_time }}
dataDir={{ data_dir }}
dataLogDir={{ log_dir }}
clientPort={{ client_port }}
{% if client_port_address is defined %}
clientPortAddress={{ client_port_address }}
{% endif %}
initLimit={{ init_limit }}
syncLimit={{ sync_limit }}
maxClientCnxns={{ zookeeper_max_client_connections }}
Expand Down