Restart docker when http-proxy.conf changed.
This commit is contained in:
parent
ffbdf31ac4
commit
32eeb9a0e0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue