feat: remove completely borg
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
---
|
||||
|
||||
## TEMP
|
||||
- name: Remove borg
|
||||
ansible.builtin.include_tasks: remove_borg.yml
|
||||
|
||||
- name: Install restic
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
|
||||
|
@@ -1,24 +0,0 @@
|
||||
---
|
||||
|
||||
- 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
|
Reference in New Issue
Block a user