AnsibleShipyard / ansible-zookeeper

Ansible playbook for ZooKeeper
MIT License
95 stars 114 forks source link

Change the zookeeper_hosts variable from dictionary to list #19

Closed dave-re closed 8 years ago

dave-re commented 8 years ago

If the zookeeper and the mesos master are in the same server, It is able to use like below.

zookeeper_hosts: "{{ groups.masters }}"

And the zoo_id variable is able to use In the inventory file like below.

[masters]
192.168.100.3 zoo_id=1
192.168.100.4 zoo_id=2
192.168.100.5 zoo_id=3
JasonGiedymin commented 8 years ago

@ryanolson, commentary compared to your PR?

ernestas-poskus commented 8 years ago

@fpgeek closing in favor of https://github.com/AnsibleShipyard/ansible-zookeeper/releases/tag/v0.9.2

role now supports hash and lists hosts