diff --git a/roles/mgrote.zfs_sanoid/tasks/main.yml b/roles/mgrote.zfs_sanoid/tasks/main.yml index dea5138f..efa9b3a3 100644 --- a/roles/mgrote.zfs_sanoid/tasks/main.yml +++ b/roles/mgrote.zfs_sanoid/tasks/main.yml @@ -46,7 +46,7 @@ - name: add sanoid_mail.service to sanoid.service become: true community.general.ini_file: - path: "/etc/systemd/system/sanoid.service" + path: "/lib/systemd/system/sanoid.service" section: Unit state: present no_extra_spaces: no @@ -58,7 +58,7 @@ - name: set timer become: true community.general.ini_file: - path: "/etc/systemd/system/sanoid.timer" + path: "/lib/systemd/system/sanoid.timer" section: Timer state: present no_extra_spaces: no