From b0da3ff4a7aae49e80ddec65e9353f93f607291a Mon Sep 17 00:00:00 2001 From: Marius Meyer Date: Thu, 11 Apr 2024 14:16:56 +0200 Subject: [PATCH] [FIX] clean up docker_compose_v2 parameters --- handlers/backup.yaml | 3 +-- handlers/main.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/handlers/backup.yaml b/handlers/backup.yaml index 5c82217..423c83e 100644 --- a/handlers/backup.yaml +++ b/handlers/backup.yaml @@ -8,8 +8,7 @@ - name: Stop Gitea for backup community.docker.docker_compose_v2: project_src: /opt/gitea - state: present - stopped: true + state: stopped register: docker_compose listen: - Backup Gitea diff --git a/handlers/main.yaml b/handlers/main.yaml index ee111d0..899a1f8 100644 --- a/handlers/main.yaml +++ b/handlers/main.yaml @@ -5,7 +5,7 @@ - name: Ensure Gitea is restarted community.docker.docker_compose_v2: project_src: /opt/gitea - restarted: true + state: restarted register: docker_compose - name: Ensure Gitea is running