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:
parent
9f0d22d678
commit
a31d70e6df
@ -28,6 +28,15 @@
|
|||||||
state: link
|
state: link
|
||||||
become: true
|
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
|
- name: Setup Zookeeper config file
|
||||||
copy:
|
copy:
|
||||||
src: /opt/zookeeper/conf/zoo_sample.cfg
|
src: /opt/zookeeper/conf/zoo_sample.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user