ensure-zookeeper: use a tmpfs

This is helpful in testing situations which can see high amounts
of write traffic.

Change-Id: I69ff8116369c4ad40e2dc0c20af22370f3ee9927
This commit is contained in:
James E. Blair 2021-02-19 10:39:54 -08:00
parent 9f0d22d678
commit a31d70e6df

View File

@ -28,6 +28,15 @@
state: link
become: true
- name: Create a tmpfs for ZooKeeper
mount:
state: mounted
path: /tmp/zookeeper/version-2
fstype: tmpfs
opts: "nodev,nosuid,size=500M"
src: "none"
become: true
- name: Setup Zookeeper config file
copy:
src: /opt/zookeeper/conf/zoo_sample.cfg