Skip to content

Commit

Permalink
remove all trailing whitespace from custom docker options config
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-smith authored Jan 29, 2017
1 parent 73f629f commit aab4123
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 aab4123

Please sign in to comment.