This role:
- Uninstalls zookeeper on Centos 7, Ubuntu, Debian host
- Minimal Version of the ansible for installation: 2.7
- Zookeeper installed
- Supported OS:
- CentOS
- 7
- Ubuntu
- Debian
- 9
- CentOS
-
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
[zookeeper]
zookeeper1.example.com
zookeeper2.example.com
zookeeper3.example.com
- name: Uninstall zookeeper
hosts: zookeeper
roles:
- role: lean_delivery.zookeeper_uninstall
Apache
authors:
- Lean Delivery Team [email protected]