infrastructure/ansible/roles/zfs/tasks/sanoid.yml

17 lines
290 B
YAML
Raw Normal View History

2020-07-26 18:03:09 +01:00
- name: Install Sanoid
package:
name: sanoid
become: true
- name: Sanoid config
template:
src: files/sanoid.conf
dest: /etc/sanoid/sanoid.conf
become: true
- name: Install sanoid cron job
cron:
name: sanoid
special_time: hourly
2020-08-17 13:49:07 +01:00
job: TZ=UTC sanoid --cron