Merge pull request #2154 from tdihp/proxy-conf-restart-docker

Restart docker when http-proxy.conf changed.
This commit is contained in:
Brad Beam 2018-01-22 08:39:05 -06:00 committed by GitHub
commit eb80f9b606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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