Integrate restic backup system

This commit is contained in:
Jef Roosens 2024-01-10 13:51:51 +01:00
parent c38bda8dfd
commit a6e4beefb3
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 84 additions and 2 deletions

View file

@ -40,7 +40,11 @@
system: true
create_home: false
- name: Ensure data directory is present
- name: Ensure data subvolume is present
community.general.btrfs_subvolume:
name: '/restic-rest'
- name: Ensure data subvolume permissions are correct
ansible.builtin.file:
path: '/mnt/data1/restic-rest'
state: directory