feat: add restic role and pb

This commit is contained in:
VC
2024-07-05 11:53:32 +02:00
parent 3d853e2d33
commit 02ee407244
7 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
---
- name: remove borg packet
package:
name: borgbackup
state: absent
- name: remove borg script
file:
path: /usr/local/bin/borgbackup.sh
state: absent
- name: remove cache dirs
file:
path: "{{ item }}"
state: absent
loop:
- "/root/.cache/borg"
- "/root/.config/borg"
- name: remove cron
cron:
name: "borg backup script"
state: absent