2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- include: pkgs.yml
|
|
|
|
|
|
|
|
- name: Enable Docker TCP on local bridge (for docker swarm)
|
|
|
|
action: configfile path=/etc/default/docker syntax=shell key=DOCKER_OPTS value="\"-H tcp://172.17.42.1:2375 -H unix:///var/run/docker.sock\""
|
|
|
|
notify: Restart docker
|
2016-12-05 19:26:29 +01:00
|
|
|
when: docker_swarm
|
2015-05-28 11:32:57 +02:00
|
|
|
tags: docker-conf
|