Skip to content

Commit

Permalink
Merge pull request #139 from benjamin-smith/master
Browse files Browse the repository at this point in the history
remove all trailing whitespace from custom docker options config
  • Loading branch information
angstwad authored Jan 31, 2017
2 parents 73f629f + aab4123 commit 396d97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 396d97e

Please sign in to comment.