Fix location for sanoid install
This makes it sync up with where the systemd services expect them to be
This commit is contained in:
parent
7d235e67e0
commit
c3053e9378
1 changed files with 9 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
||||||
- name: Install executables
|
- name: Install executables
|
||||||
file:
|
file:
|
||||||
src: /opt/sanoid/{{ item }}
|
src: /opt/sanoid/{{ item }}
|
||||||
dest: /usr/local/sbin/{{ item }}
|
dest: /usr/sbin/{{ item }}
|
||||||
state: link
|
state: link
|
||||||
loop:
|
loop:
|
||||||
- sanoid
|
- sanoid
|
||||||
|
@ -71,8 +71,15 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Enable systemd services
|
- name: Enable systemd services
|
||||||
service:
|
systemd:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
masked: false
|
||||||
loop: "{{ sanoid_services }}"
|
loop: "{{ sanoid_services }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Start sanoid timer
|
||||||
|
systemd:
|
||||||
|
name: sanoid.timer
|
||||||
|
state: started
|
||||||
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue