Added zoneminder to aya01 (if I hadn't before)

Added backblaze (todo documentation)

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2022-12-06 16:36:21 +01:00
parent 70083f2974
commit b371e246a9
16 changed files with 150 additions and 11 deletions

View File

@@ -0,0 +1,21 @@
---
- 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

View File

@@ -2,4 +2,4 @@
- include_tasks: time.yml
- include_tasks: essential.yml
- include_tasks: aya01_fstab.yml
when: ansible_hostname == "aya01"
when: inventory_hostname == "aya01"