andrewrothstein / ansible-zookeeper-cluster

MIT License
10 stars 12 forks source link

andrewrothstein.zookeeper-cluster

Build Status

Configures a zookeeper cluster. Assumes there are two groups:

Assumption is that all hosts in the zookeeper group but not in the zookeeper-quorum group are observers.

Requirements

See meta/main.yml

Role Variables

See defaults/main.yml

Dependencies

See meta/main.yml

Example Inventory/Playbook

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

License

MIT

Author Information

Andrew Rothstein andrew.rothstein@gmail.com