From 0f9d5f53c458dbe64c6f4b39113f748a48a3855e Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Sat, 29 Apr 2023 20:37:28 +0000 Subject: [PATCH] [FIX] Versuche nicht, Backups automatisch wiederherzustellen --- tasks/main.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index a8880b5..c70c9e0 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -84,31 +84,3 @@ - Output Docker Compose State - Ensure Gitea is restarted - Check Gitea HTTP Response - -- name: Update Config - block: - - name: Flush Handlers - meta: flush_handlers - - rescue: - - name: Stop Gitea for Backup - community.docker.docker_compose: - project_src: /opt/gitea - state: present - stopped: true - notify: - - Ensure Gitea is running - - - name: Clean up Gitea Directory before restoring Backup - ansible.builtin.file: - path: /opt/gitea - state: absent - - - name: Restore Gitea Directory from Backup - ansible.builtin.copy: - src: "{{ backup.dest }}/" - dest: /opt/gitea - remote_src: true - mode: preserve - notify: - - Check Gitea HTTP Response