Configures a zookeeper cluster. Assumes there are two groups:
- zookeeper: all zookeeper hosts voting or not
- zookeeper-quorum: voting members of the zookeeper cluster
Assumption is that all hosts in the zookeeper group but not in the zookeeper-quorum group are observers.
See meta/main.yml
See meta/main.yml
inventory.ini
[zookeeper]
host1 zookeeper_myid=1
host2 zookeeper_myid=2
host3 zookeeper_myid=3
....
hostN zookeeper_myid=N
[zookeeper-quorum]
host[1:7]
playbook.yml
- hosts: zookeeper
roles:
- andrewrothstein.zookeeper-cluster
MIT
Andrew Rothstein andrew.rothstein@gmail.com