From c7ccc53b076a6a8b09cc7eebfd6fc38bf110349c Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Fri, 10 Jan 2025 22:08:37 +0200 Subject: [PATCH] fix: add check for undefined docker_daemon_run_options variable in docker.j2 file before, if the variable was undefined (run docker with default options), a play filed --- templates/docker.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/docker.j2 b/templates/docker.j2 index a3ab395..cada1c8 100644 --- a/templates/docker.j2 +++ b/templates/docker.j2 @@ -1 +1 @@ -DOCKER_OPTS="{{ docker_daemon_run_options }}" +DOCKER_OPTS="{% if docker_daemon_run_options is defined %}{{ docker_daemon_run_options }}{% endif %}"