Files
ansible/roles/common/tasks/aya01_fstab.yml
TuDatTr b371e246a9 Added zoneminder to aya01 (if I hadn't before)
Added backblaze (todo documentation)

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2022-12-06 16:36:21 +01:00

22 lines
411 B
YAML

---
- name: Create folders to mount to
file:
path: "{{ item.path }}"
state: directory
loop: "{{ fstab_entries }}"
become: true
- name: Create fstab entries
mount:
src: "UUID={{ item.uuid }}"
path: "{{ item.path }}"
fstype: "{{ item.type }}"
state: present
backup: true
loop: "{{ fstab_entries }}"
become: true
- name: Mount all disks
command: mount -a
become: true