25 lines
454 B
YAML
25 lines
454 B
YAML
---
|
|
|
|
- name: Remove borg packet
|
|
ansible.builtin.package:
|
|
name: borgbackup
|
|
state: absent
|
|
|
|
- name: Remove borg script
|
|
ansible.builtin.file:
|
|
path: /usr/local/bin/borgbackup.sh
|
|
state: absent
|
|
|
|
- name: Remove cache dirs
|
|
ansible.builtin.file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
loop:
|
|
- "/root/.cache/borg"
|
|
- "/root/.config/borg"
|
|
|
|
- name: Remove cron
|
|
ansible.builtin.cron:
|
|
name: "borg backup script"
|
|
state: absent
|