From 97031f9133cfce959eeefa9fe1d62e5974695328 Mon Sep 17 00:00:00 2001
From: Vijay Katam <vijkatam@cisco.com>
Date: Sun, 20 Aug 2017 04:03:10 -0700
Subject: [PATCH] Make epel-release install configurable (#1497)

---
 roles/kubernetes/preinstall/tasks/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml
index 2f5bff229..e3f27192f 100644
--- a/roles/kubernetes/preinstall/tasks/main.yml
+++ b/roles/kubernetes/preinstall/tasks/main.yml
@@ -128,6 +128,7 @@
   when:
     - ansible_distribution in ["CentOS","RedHat"]
     - not is_atomic
+    - epel_rpm_download_url != ''
   register: epel_task_result
   until: epel_task_result|succeeded
   retries: 4
-- 
GitLab