summaryrefslogblamecommitdiff
blob: 2c057473fac38f45e20a517abc4250fd3a62ad03 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                       
- 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
Powered by cgit v1.2.3 (git 2.41.0)