Merge experimental nach main #3

Merged
sporq merged 16 commits from experimental into main 2023-05-01 18:37:47 +02:00
Showing only changes of commit 0f9d5f53c4 - Show all commits

View File

@ -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