Zookeeper Uninstall
Summary
This role:
- Uninstalls zookeeper on Centos 7, Ubuntu, Debian host
Requirements
- Minimal Version of the ansible for installation: 2.7
- Zookeeper installed
- Supported OS:
- CentOS
- 7
- Ubuntu
- Debian
- 9
- CentOS
Role Variables
-
zk_version
- version of the packagedefault:
3.4.14
-
zk_service_name
- zookeeper service namedefault:
zookeeper
-
zk_tarball_installation
- installation from tarball(or repository)default:
True
-
zk_user
- OS user name for zookeeperdefault:
zookeeper
-
zk_group
- OS user group name for zookeeperdefault:
zookeeper
-
zk_data_dir
- libraries directorydefault:
/var/lib/zookeeper
-
zk_log_dir
- logs directorydefault:
/var/log/zookeeper
-
zk_dir
- zookeeper directorydefault:
"{{ zk_tarball_installation | ternary('/opt/zookeeper-' + zk_version, '/usr/lib/zookeeper') }}"
-
zk_remove_user
- zookeeper user and group will be removeddefault:
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:
- Lean Delivery Team team@lean-delivery.com