bilalcaliskan.zookeeper

Zookeeper Ansible Role

CI GitHub tag

This role helps you install and set up an Apache Zookeeper cluster on Redhat or Debian systems.

Requirements

To use this role, you need:

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:

After installing these tools, configure pre-commit by running:

$ pre-commit install

License

Apache License 2.0

Informazioni sul progetto

Zookeeper cluster setup

Installa
ansible-galaxy install bilalcaliskan.zookeeper
Licenza
apache-2.0
Download
411
Proprietario