robocar-setup/ansible/roles/donkey/tasks/data.yml
2020-02-07 13:42:39 +01:00

17 lines
301 B
YAML

---
- name: Make data directory
file:
path: "{{ donkey_data_dir }}"
owner: "{{ donkey_username }}"
group: "{{ donkey_groupname }}"
state: directory
- name: Make tmpfs
mount:
path: "{{ donkey_data_dir }}"
src: tmpfs
fstype: tmpfs
opts: defaults
state: mounted