Jake Howard
6716b418d7
Looks like by default they're installed as the current user, not root. Bad ansible documentation!
17 lines
305 B
YAML
17 lines
305 B
YAML
- 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 --cron
|
|
become: true
|