Skip to content

lean-delivery/ansible-role-zookeeper-uninstall

Repository files navigation

Zookeeper Uninstall

License Build Status Build Status Galaxy Ansible Ansible

Summary

This role:

  • Uninstalls zookeeper on Centos 7, Ubuntu, Debian host

Requirements

  • Minimal Version of the ansible for installation: 2.7
  • Zookeeper installed Build Status
  • Supported OS:
    • CentOS
      • 7
    • Ubuntu
    • Debian
      • 9

Prepared Windows System

Role Variables

  • zk_version - version of the package

    default: 3.4.14

  • zk_service_name - zookeeper service name

    default: zookeeper

  • zk_tarball_installation - installation from tarball(or repository)

    default: True

  • zk_user - OS user name for zookeeper

    default: zookeeper

  • zk_group - OS user group name for zookeeper

    default: zookeeper

  • zk_data_dir - libraries directory

    default: /var/lib/zookeeper

  • zk_log_dir - logs directory

    default: /var/log/zookeeper

  • zk_dir - zookeeper directory

    default: "{{ zk_tarball_installation | ternary('/opt/zookeeper-' + zk_version, '/usr/lib/zookeeper') }}"

  • zk_remove_user - zookeeper user and group will be removed

    default: False

Example Inventory

[zookeeper]
zookeeper1.example.com
zookeeper2.example.com
zookeeper3.example.com

Example Playbook

- name: Uninstall zookeeper
  hosts: zookeeper
  roles:
    - role: lean_delivery.zookeeper_uninstall

License

Apache

Author Information

authors: