You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
459 B
YAML

- 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