Closed guenhter closed 8 years ago
Considering that you have zookeepers
group in your inventory e.g.:
[zookeepers]
server[1:5]
- name: Zookeeper
hosts: zookeepers
sudo: yes
roles:
- role: AnsibleShipyard.ansible-zookeeper
zookeeper_hosts: "{{groups['zookeepers']}}"
and thats it
Maybe we can have more docs and examples or docs that point to examples?
-Jason
On Aug 26, 2016, at 1:49 AM, Ernestas Poskus notifications@github.com wrote:
Considering that you have zookeepers group in your inventory e.g.:
[zookeepers] server[1:5]
- name: Zookeeper hosts: zookeepers sudo: yes roles:
- role: AnsibleShipyard.ansible-zookeeper zookeeper_version: 3.4.8 apt_cache_timeout: 3600 client_port: 2181 init_limit: 5 sync_limit: 2 tick_time: 2000 data_dir: /var/lib/zookeeper log_dir: /var/log/zookeeper zookeeper_dir: /opt/zookeeper-{{zookeeper_version}} zookeeper_hosts: "{{groups['zookeepers']}}" and thats it
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
sure
Works as expected
Hi,
how can it be managed to setup a cluster with e.g. 5 Zookeeper instances (everyone having a different id)?
regards guenther