Fix: change systemd unit path

This commit is contained in:
pipetky 2024-02-03 15:07:22 +03:00
parent cbe280e7ff
commit 56451cbd76

View File

@ -24,8 +24,8 @@
backup: true backup: true
mode: "{{ item.mode }}" mode: "{{ item.mode }}"
with_items: with_items:
- { src: "borgmatic.timer.j2", dest: "/usr/lib/systemd/system/borgmatic.timer", mode: "0644" } - { src: "borgmatic.timer.j2", dest: "/lib/systemd/system/borgmatic.timer", mode: "0644" }
- { src: "borgmatic.service.j2", dest: "/usr/lib/systemd/system/borgmatic.service", mode: "0644" } - { src: "borgmatic.service.j2", dest: "/lib/systemd/system/borgmatic.service", mode: "0644" }
- name: Populate service facts - name: Populate service facts
ansible.builtin.service_facts: ansible.builtin.service_facts: