Skip to content

Commit b9d26b6

Browse files
author
markramach
committed
Allows additional docker options.
1 parent 5ce93cb commit b9d26b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/docker-flannel/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
command: brctl delbr docker0
2727

2828
- name: Update docker with flannel configuration.
29-
lineinfile: dest=/etc/default/docker regexp='^DOCKER_OPTS' line='DOCKER_OPTS="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock --bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"'
29+
lineinfile: dest=/etc/default/docker regexp='^DOCKER_OPTS' line='DOCKER_OPTS="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock --bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {{ docker_opts }}"'
3030

3131
- name: Start the docker service.
3232
command: start docker

0 commit comments

Comments
 (0)