Remove a check for docker proxy task

This patch set will allow the docker setting to take effect even if
docker is already installed. The proxy setting will take effect as
long as the proxy variables are in place.

Change-Id: I1df812001d37d094fc3a31bea9e13d1488277a67
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2018-06-12 12:56:01 -05:00
parent 9f1cfbacd8
commit 44cb51e3ab

View File

@ -46,7 +46,7 @@
state: directory
- name: proxy | moving proxy systemd unit into place
when: ( need_docker is failed ) and ( proxy.http is defined and (proxy.http | trim != "") )
when: proxy.http is defined and (proxy.http | trim != "")
template:
src: http-proxy.conf.j2
dest: /etc/systemd/system/docker.service.d/http-proxy.conf