- name: Install Borg Backup via dnf package manager ansible.builtin.apt: name: - "borgbackup" - "borgmatic" state: present - name: Create borgmatic conf folder ansible.builtin.file: path: "/etc/borgmatic.d/" state: directory - name: Copy systemd unit files ansible.builtin.copy: src: "../files/borgmatic@.service" dest: "/etc/systemd/system/borgmatic@.service" owner: root group: root mode: u=rw,g=r,o=r