Reorganize and rejigger

This commit is contained in:
2023-09-01 15:42:19 -04:00
parent 5cbce17bd1
commit a922fe4df7
16 changed files with 378 additions and 367 deletions

View File

@ -0,0 +1,28 @@
---
- name: install zookeeper packages
apt:
name:
- zookeeperd
- zookeeper-bin
state: latest
- name: install zookeeper configuration
template:
src: zookeeper/{{ item }}.j2
dest: /etc/zookeeper/conf/{{ item }}
with_items:
- configuration.xsl
- environment
- log4j.properties
- myid
- zoo.cfg
notify: restart zookeeper
- name: disable services
service:
name: "{{ item }}"
enabled: no
with_items:
- zookeeper
- meta: flush_handlers