From b72ddc23af91d5211f683ad634457225a9981767 Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Fri, 3 Feb 2023 14:32:03 +0100 Subject: [PATCH] validation reenabled --- roles/drone/tasks/create_app.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/drone/tasks/create_app.yml b/roles/drone/tasks/create_app.yml index ffb9997..1d7fe46 100644 --- a/roles/drone/tasks/create_app.yml +++ b/roles/drone/tasks/create_app.yml @@ -11,7 +11,8 @@ template: src: "docker-compose.yml.j2" dest: "/opt/docker/drone/docker-compose.yml" - # validate: "docker-compose -f %s config" # not required. The validation command to run before copying into place. The path to the file to validate is passed in via '%s' which must be present as in the examples below. The command is passed securely so shell features like expansion and pipes will not work. + force: no + validate: "docker-compose -f %s config" # not required. The validation command to run before copying into place. The path to the file to validate is passed in via '%s' which must be present as in the examples below. The command is passed securely so shell features like expansion and pipes will not work. - name: drone | create app | start docker container command: