updated for yum proxy configs
diff --git a/tasks/main.yml b/tasks/main.yml
index 593ca3d..201b66b 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: apigee_yum_repositories is defined and https_proxy is defined and https_proxy | trim != '' and http_proxy is defined and http_proxy | trim != ''
+  when: yum_repositories is defined and https_proxy is defined and https_proxy | trim != '' and http_proxy is defined and http_proxy | trim != ''
 
 - include: with_no_proxy.yml
-  when: apigee_yum_repositories is defined and (https_proxy is not defined or https_proxy | trim == '') and (http_proxy is not defined or http_proxy | trim == '')
+  when: yum_repositories is defined and (https_proxy is not defined or https_proxy | trim == '') and (http_proxy is not defined or http_proxy | trim == '')