robocar-setup/ansible/roles/donkey/tasks/data.yml

17 lines
301 B
YAML
Raw Permalink Normal View History

2020-02-07 12:38:30 +00:00
---
- 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