ZooKeeper playbook for Ansible
vagrant up ubuntu && vagrant ssh ubuntu
cd /home/vagrant/roles/ansible-zookeeper
bin/test
---
- hosts: zookeepers
sudo: true
roles:
- {
role: ansible-zookeeper,
version: 3.4.6,
myid: 1
}
See this sample playbook which shows how to use this playbook as well as others. It is part of ansible-galaxy-roles and serves as a curation (and thus an example) of all our ansible playbooks.