Skip to content

Commit

Permalink
Generalize setting of docker options
Browse files Browse the repository at this point in the history
There are various other options that you may want to set apart from
specifying additional port to listen on.
  • Loading branch information
mphre committed Mar 6, 2015
1 parent 169a0a6 commit 1396d09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@
update_cache: yes
cache_valid_time: 600

- name: Expose docker host
- name: Set docker daemon options
copy:
content: "DOCKER_OPTS=\"{{ docker_opts }}\""
dest: /etc/default/docker
owner: root
group: root
mode: 0744
mode: 0644
notify:
- Reload docker
when: "export_docker_host"
when: docker_opts

- name: Fix DNS in docker.io
lineinfile:
Expand Down

0 comments on commit 1396d09

Please sign in to comment.