bilalcaliskan.zookeeper
Zookeeper Ansible Role
This role helps you install and set up an Apache Zookeeper cluster on Redhat or Debian systems.
Requirements
To use this role, you need:
- Python 3.x
- Ansible (minimum version 2.4, recommended version 2.9.16)
You can install the recommended version with this command:
$ pip3 install "ansible==2.9.16"
This role needs root access, so run it in a playbook with become: true
, or call the role directly in your playbook.
Role Variables
You can find the default values in defaults/main.yml. You can change them in vars/main.yml if needed or set them when running your playbook.
Note: This role can automatically start and enable the
firewalld
service on your servers. If you want this service to be enabled, set the following variable to true in your playbook:
firewalld_enabled: true
Dependencies
None
Examples
Inventory
[all]
zookeeper01.example.com
zookeeper02.example.com
zookeeper03.example.com
Installation
- hosts: all
become: true
roles:
- role: bilalcaliskan.zookeeper
vars:
install: true
enable_persistency: false
version: 3.7.0
Uninstallation
- hosts: all
become: true
roles:
- role: bilalcaliskan.zookeeper
vars:
install: false
Development
For development, you need the following tools:
- Python 3.x
- Ansible - (minimum version 2.4, recommended version 2.9.16)
- pre-commit
- ansible-lint - needed by pre-commit
- Bash shell - needed by pre-commit
After installing these tools, configure pre-commit by running:
$ pre-commit install
License
Apache License 2.0
Installa
ansible-galaxy install bilalcaliskan.zookeeper
Licenza
apache-2.0
Download
411
Proprietario