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