Fix location for sanoid install

This makes it sync up with where the systemd services expect them to be
This commit is contained in:
Jake Howard 2021-01-09 21:28:16 +00:00
parent 7d235e67e0
commit c3053e9378
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -46,7 +46,7 @@
- name: Install executables
file:
src: /opt/sanoid/{{ item }}
dest: /usr/local/sbin/{{ item }}
dest: /usr/sbin/{{ item }}
state: link
loop:
- sanoid
@ -71,8 +71,15 @@
become: true
- name: Enable systemd services
service:
systemd:
name: "{{ item }}"
enabled: true
masked: false
loop: "{{ sanoid_services }}"
become: true
- name: Start sanoid timer
systemd:
name: sanoid.timer
state: started
become: true