This commit is contained in:
Michael Grote 2022-04-01 18:39:23 +02:00
parent ec3c731715
commit 40a877d72a
3 changed files with 14 additions and 3 deletions

View file

@ -4,7 +4,6 @@
Installiert und konfiguriert sanoid.
### getestet auf
- [x] ProxMox 6*
- [x] ProxMox 7*
### Variablen + Defaults

View file

@ -1,7 +1,6 @@
---
### when should the script be run
sanoid_cron_hours: '*'
sanoid_cron_minutes: '*'
sanoid_timer: '*-*-* *:00/5:*'
### "Default" Datasets
sanoid_datasets: # dictionary

View file

@ -42,6 +42,19 @@
notify:
- systemctl daemon-reload
- name: add sanoid_mail.service to sanoid.service
become: true
community.general.ini_file:
path: "/etc/systemd/system/{{ item }}"
section: Timer
state: present
no_extra_spaces: no
option: OnCalendar
value: "{{ sanoid_timer }}"
loop:
- sanoid.timer
notify:
- systemctl daemon-reload
# collections in meta?
# doku?