Files
ansible/roles/restic/tasks/remove_borg.yml
2024-07-05 11:53:32 +02:00

25 lines
390 B
YAML

---
- 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