From 5de82c35ecae20f02594a4ce895ef79526f5d1bc Mon Sep 17 00:00:00 2001 From: VC Date: Fri, 5 Jul 2024 11:53:39 +0200 Subject: [PATCH] feat: remove completely borg --- roles/restic/tasks/main.yml | 4 ---- roles/restic/tasks/remove_borg.yml | 24 ------------------------ 2 files changed, 28 deletions(-) delete mode 100644 roles/restic/tasks/remove_borg.yml diff --git a/roles/restic/tasks/main.yml b/roles/restic/tasks/main.yml index e51f6b1..80d079a 100644 --- a/roles/restic/tasks/main.yml +++ b/roles/restic/tasks/main.yml @@ -1,9 +1,5 @@ --- -## TEMP -- name: Remove borg - ansible.builtin.include_tasks: remove_borg.yml - - name: Install restic ansible.builtin.include_tasks: install.yml diff --git a/roles/restic/tasks/remove_borg.yml b/roles/restic/tasks/remove_borg.yml deleted file mode 100644 index 640636e..0000000 --- a/roles/restic/tasks/remove_borg.yml +++ /dev/null @@ -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