diff --git a/handlers/main.yaml b/handlers/main.yaml index 81192f1..2ba5626 100644 --- a/handlers/main.yaml +++ b/handlers/main.yaml @@ -10,6 +10,7 @@ community.docker.docker_compose_v2: project_src: /opt/gitea state: restarted + recreate: always register: docker_compose - name: Ensure Gitea is running diff --git a/templates/docker-compose.yaml.j2 b/templates/docker-compose.yaml.j2 index f565cde..174ccb7 100644 --- a/templates/docker-compose.yaml.j2 +++ b/templates/docker-compose.yaml.j2 @@ -4,8 +4,6 @@ # -- Diese Datei wird via Ansible verwaltet und automatisch überschrieben! # https://azubi-gitea.int.sernet.de/mmeyer/ansible-role-gitea/src/branch/main/templates/docker-compose.yaml.j2 -version: "3.8" - networks: gitea: external: false