Refactor tasks for compose.yml and add tasks for pihole, homeassistant, and prometheus

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2022-12-29 22:45:17 +01:00
parent ac6080bc2f
commit 350b3ec149
21 changed files with 416 additions and 148 deletions

View File

@@ -15,7 +15,9 @@
backup: true
loop: "{{ fstab_entries }}"
become: true
register: fstab
- name: Mount all disks
command: mount -a
become: true
when: fstab.changed