timer
This commit is contained in:
parent
ec3c731715
commit
40a877d72a
3 changed files with 14 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
|||
Installiert und konfiguriert sanoid.
|
||||
|
||||
### getestet auf
|
||||
- [x] ProxMox 6*
|
||||
- [x] ProxMox 7*
|
||||
|
||||
### Variablen + Defaults
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue