Commit 1b1ff414 authored by mvivaldi's avatar mvivaldi

service added

parent 686af9d4
include:
- .install
- .config
\ No newline at end of file
- .config
- .service
\ No newline at end of file
# os_family: Debian
Ubuntu:
source: https://idrepo.fbk.eu/pkgs/sanoid_2.0.3_all.deb
timerservice: sanoid.timer
pruneservice: sanoid-prune.service
# os_family: RedHat
Fedora: {}
CentOS: {}
......
{#- Get the `tplroot` from `tpldir` #}
{%- set sanoidroot = slspath.split('/')[0] %}
{%- from sanoidroot ~ "/map.jinja" import sanoid with context %}
{{ sanoid.timerservice }}
service.running:
- enable: True
{{ sanoid.pruneservice }}
service.running:
- enable: True
\ No newline at end of file
include:
- .enableservice
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment