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