ansible-roles/docker/tasks/main.yml

8 lines
276 B
YAML
Raw Normal View History

---
- 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
tags: docker-conf