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

17 lines
283 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
job: TZ=UTC sanoid