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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user