diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml
index 64dfff56e85192c92786e74788ec15748e1aebe7..365720ba90115aab12044e0cf49beca1c94f13c6 100644
--- a/roles/kubernetes/preinstall/tasks/main.yml
+++ b/roles/kubernetes/preinstall/tasks/main.yml
@@ -52,6 +52,14 @@
         ansible_distribution_major_version > 21
   changed_when: False
 
+- name: Install epel-release for RedHat and CentOS distribs
+  action:
+    module: "{{ ansible_pkg_mgr }}"
+    name: "epel-release"
+    state: latest
+  when: ansible_distribution == "RedHat" or
+        ansible_distribution == "CentOS"
+
 - name: Install packages requirements
   action:
     module: "{{ ansible_pkg_mgr }}"
diff --git a/roles/kubernetes/preinstall/vars/centos.yml b/roles/kubernetes/preinstall/vars/centos.yml
index a42e8b5804f096905e3d15aff805386fa3a42a29..c1be4b9b353bcd478302b47dbaab426213804ef2 100644
--- a/roles/kubernetes/preinstall/vars/centos.yml
+++ b/roles/kubernetes/preinstall/vars/centos.yml
@@ -1,4 +1,3 @@
 required_pkgs:
-  - epel-release
   - libselinux-python
   - device-mapper-libs