From d0258a3fc2a7f96fc6a60b311301e545c3f2b918 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Sat, 29 Apr 2023 17:07:56 +0000 Subject: [PATCH] Validiere docker-compose.yaml --- tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index d43e6c1..36f2d4d 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -72,7 +72,7 @@ dest: /opt/gitea/docker-compose.yaml owner: root mode: "600" - register: gitea_container + validate: /usr/bin/docker compose -f %s config -q - name: Start Gitea and try reaching it ansible.builtin.include_tasks: