Restart docker when http-proxy.conf changed.

This commit is contained in:
heping 2018-01-12 10:56:25 +08:00
parent ffbdf31ac4
commit 32eeb9a0e0

View file

@ -8,6 +8,7 @@
template:
src: http-proxy.conf.j2
dest: /etc/systemd/system/docker.service.d/http-proxy.conf
notify: restart docker
when: http_proxy is defined or https_proxy is defined
- name: get systemd version