2016-05-11 06:49:27 +08:00
|
|
|
---
|
2016-05-13 00:06:31 +08:00
|
|
|
- name: create docker service directory for systemd
|
2016-05-11 06:49:27 +08:00
|
|
|
file: path=/etc/systemd/system/docker.service.d state=directory
|
|
|
|
|
2016-05-13 00:06:31 +08:00
|
|
|
- name: drop docker environment conf to enable proxy usage
|
2016-05-11 06:49:27 +08:00
|
|
|
template:
|
|
|
|
src: http-proxy.conf.j2
|
|
|
|
dest: /etc/systemd/system/docker.service.d/http-proxy.conf
|
2016-05-13 03:18:38 +08:00
|
|
|
notify: restart docker
|