From e5df4cc06d191850efa4063645ee88eebe84be3a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 6 Dec 2020 14:35:37 +0100 Subject: [PATCH] remove whitespace control --- templates/services/userdata.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/services/userdata.yml.j2 b/templates/services/userdata.yml.j2 index e761719..765dd1d 100644 --- a/templates/services/userdata.yml.j2 +++ b/templates/services/userdata.yml.j2 @@ -52,13 +52,13 @@ write_files: - path: /root/.docker/config.json content: | {{ inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) | indent(width=6, indentfirst=False) }} - {%- endif %} + {% endif %} - path: /etc/drone.conf content: | {% if inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) is defined %} PLUGIN_CONFIG={{ inst.docker_auth_config | default(droneci_autoscaler_docker_auth_config) | regex_replace("\s+", " ") }} - {%- endif %} + {% endif %} - path: /etc/docker/ca.pem encoding: b64