updated openldap package downloads
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml
index d7afea2..7970384 100644
--- a/tasks/with_no_proxy.yml
+++ b/tasks/with_no_proxy.yml
@@ -25,3 +25,16 @@
yum:
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
state: present
+ when opdk_version | version_compare('4.17.05', '>')
+
+- block:
+ - name: Remove epel
+ yum:
+ name: epel-release
+ state: absent
+
+ - name: Update with EPEL 6 with no proxy
+ yum:
+ name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm"
+ state: present
+ when: opdk_version | version_compare('4.17.05', '<=')