From aab4123682b196d080de4cab504acf4368af4c9f Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Sun, 29 Jan 2017 17:10:03 -0500 Subject: [PATCH] remove all trailing whitespace from custom docker options config --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9e78b13..a4e0630 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -88,7 +88,7 @@ - name: Set docker daemon options copy: - content: "DOCKER_OPTS=\"{{ docker_opts.rstrip('\n') }}\"" + content: "DOCKER_OPTS=\"{{ docker_opts.rstrip() }}\"" dest: /etc/default/docker owner: root group: root @@ -110,7 +110,7 @@ copy: content: | [Service] - Environment="DOCKER_OPTS={{ docker_opts.rstrip('\n') }}" + Environment="DOCKER_OPTS={{ docker_opts.rstrip() }}" dest: /etc/systemd/system/docker.service.d/env.conf owner: root group: root