update proxy config
diff --git a/tasks/main.yml b/tasks/main.yml
index 61ad0a3..4b54d9e 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,7 +1,7 @@
 ---
 # tasks file for apigee-opdk-yum-repository-proxy-config
-#- include: with_proxy.yml
-#  when: https_proxy is defined
+- include: with_proxy.yml
+  when: https_proxy is defined and http_proxy is defined
 
 - include: with_no_proxy.yml
-#  when: https_proxy is not defined
+  when: https_proxy is not defined and https_proxy is not defined