fix: zfs: delete dataset "hm" (#616)

Reviewed-on: #616
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2023-11-28 15:13:22 +01:00 committed by mg
parent 44206a1b30
commit f301138080
3 changed files with 11 additions and 13 deletions

View file

@ -107,11 +107,6 @@ sanoid_syncoid_datasets_sync:
destination_dataset: backup/pve5/bilder
source_dataset: hdd_data_raidz/bilder
- source_host: pve5.mgrote.net
destination_mount_check: backup
destination_dataset: backup/pve5/hm
source_dataset: hdd_data_raidz/hm
- source_host: pve5.mgrote.net
destination_mount_check: backup
destination_dataset: backup/pve5/scans

View file

@ -102,11 +102,6 @@ sanoid_syncoid_datasets_sync:
destination_dataset: backup/pve5/bilder
source_dataset: hdd_data_raidz/bilder
- source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup
destination_dataset: backup/pve5/hm
source_dataset: hdd_data_raidz/hm
- source_host: 192.168.2.16 # pve5, weil pbs den fqdn nicht auflösen kann
destination_mount_check: backup
destination_dataset: backup/pve5/scans

View file

@ -38,7 +38,7 @@
- sanoid_snaps_enable is defined
- sanoid_snaps_enable
- name: ensure service are started
- name: ensure timers are enabled
become: true
ansible.builtin.systemd:
state: started
@ -47,9 +47,17 @@
masked: false
enabled: true
loop:
- sanoid.service
- sanoid-prune.service
- sanoid.timer
- sanoid.timer
- name: ensure services are enabled
become: true
ansible.builtin.systemd:
name: "{{ item }}"
masked: false
enabled: true
loop:
- sanoid.service
- name: include source-host tasks
ansible.builtin.include_tasks: source.yml