blob: 2c057473fac38f45e20a517abc4250fd3a62ad03 (
plain) (
tree)
|
|
- name: create ramdisk directory
file:
dest: /srv/ramdisk
mode: 0755 # TODO: use acl module and bind this to system data user
state: directory
- name: mount ramdisk to /srv/ramdisk
mount:
path: /srv/ramdisk
src: tmpfs
fstype: tmpfs
opts: "lazytime,size={{ ansible_memtotal_mb }}M"
state: mounted
|