fix: sanoid: missing systemd-units (#563)
Reviewed-on: #563 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
d9f9a1fc7e
commit
1fc4e9d0d9
3 changed files with 15 additions and 2 deletions
|
@ -239,7 +239,7 @@
|
|||
autoprune: 'yes'
|
||||
|
||||
### mgrote.zfs_sanoid
|
||||
sanoid_deb_url: http://docker10.grote.lan:3344/sanoid_3.0.0.deb
|
||||
sanoid_deb_url: http://docker10.grote.lan:3344/sanoid_3.0.4.deb
|
||||
|
||||
# Ansible Variablen
|
||||
### User
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
- http://192.168.2.43:3344/bash-helper-scripts-mgrote-latest.deb # weil pbs den fqdn nicht auflösen kann
|
||||
|
||||
### mgrote.zfs_sanoid
|
||||
sanoid_deb_url: http://192.168.2.43:3344/sanoid_3.0.0.deb # weil pbs den fqdn nicht auflösen kann
|
||||
sanoid_deb_url: http://192.168.2.43:3344/sanoid_3.0.4.deb # weil pbs den fqdn nicht auflösen kann
|
||||
|
||||
### mgrote.munin-node
|
||||
munin_node_allowed_cidrs: [192.168.3.0/24]
|
||||
|
|
|
@ -38,6 +38,19 @@
|
|||
- sanoid_snaps_enable is defined
|
||||
- sanoid_snaps_enable
|
||||
|
||||
- name: ensure service are started
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
state: started
|
||||
name: "{{ item }}"
|
||||
daemon_reload: true
|
||||
masked: false
|
||||
enabled: yes
|
||||
loop:
|
||||
- sanoid.service
|
||||
- sanoid-prune.service
|
||||
- sanoid.timer
|
||||
|
||||
- name: include source-host tasks
|
||||
include_tasks: source.yml
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue