diff --git a/roles/deploy-docker/tasks/main.yaml b/roles/deploy-docker/tasks/main.yaml index eedeafd9e..68597f99e 100644 --- a/roles/deploy-docker/tasks/main.yaml +++ b/roles/deploy-docker/tasks/main.yaml @@ -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