Browse Source

Restart docker when http-proxy.conf changed.

pull/2154/head
heping 7 years ago
parent
commit
32eeb9a0e0
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/docker/tasks/systemd.yml

1
roles/docker/tasks/systemd.yml

@ -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…
Cancel
Save