From 3cc9693895a3498fbfed138fb6c36e8b0d1ddab0 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Wed, 8 Feb 2017 20:03:51 +0900 Subject: [PATCH] Update rh_docker.repo.j2 --- roles/docker/templates/rh_docker.repo.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/docker/templates/rh_docker.repo.j2 b/roles/docker/templates/rh_docker.repo.j2 index bc711d7fe..e783c0ddf 100644 --- a/roles/docker/templates/rh_docker.repo.j2 +++ b/roles/docker/templates/rh_docker.repo.j2 @@ -4,4 +4,4 @@ baseurl=https://yum.dockerproject.org/repo/main/centos/7 enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg -{% if http_proxy %}proxy={{ http_proxy }}{% endif %} +{% if http_proxy is defined %}proxy={{ http_proxy }}{% endif %}