Browse Source
Merge pull request #2154 from tdihp/proxy-conf-restart-docker
Restart docker when http-proxy.conf changed.
pull/2188/head
Brad Beam
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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 |
|
|
|