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: