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]
host0 zookeeper_myid=0
host1 zookeeper_myid=1
host2 zookeeper_myid=2
host3 zookeeper_myid=3
....
[zookeeper-quorum]
host[0:7]
playbook.yml
- hosts: zookeeper
roles:
- andrewrothstein.zookeeper-cluster
MIT
Andrew Rothstein [email protected]