summaryrefslogtreecommitdiff
path: root/roles/zfs/sanoid/tasks/main.yml
blob: e35190e939d99df6f366f1993350ab61a9da650f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: install sanoid
  apt:
    name: sanoid
    state: present

- name: create sanoid config directory
  file:
    path: /etc/sanoid
    state: directory

- name: genarate sanoid config
  template:
    src: sanoid.conf.j2
    dest: /etc/sanoid/sanoid.conf