diff --git a/roles/docker/files/rh_docker.repo b/roles/docker/files/rh_docker.repo
new file mode 100644
index 0000000000000000000000000000000000000000..a66294c930bfdb84b3a96a42a158d455f426e114
--- /dev/null
+++ b/roles/docker/files/rh_docker.repo
@@ -0,0 +1,6 @@
+[dockerrepo]
+name=Docker Repository
+baseurl=https://yum.dockerproject.org/repo/main/centos/7
+enabled=1
+gpgcheck=1
+gpgkey=https://yum.dockerproject.org/gpg
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index b47c9d302afb7ce4cc0c2deb335bea9aed1d7f1f..3b39bd85031ddb62ad2a4bb1795e84228fbcbc64 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -38,6 +38,13 @@
   with_items: "{{ docker_repo_info.repos }}"
   when: docker_repo_info.repos|length > 0
 
+- name: Configure docker repository on RedHat
+  copy:
+    src: "rh_docker.repo"
+    dest: "/etc/yum.repos.d/docker.repo"
+  when: ansible_distribution == "RedHat" and
+        ansible_distribution_major_version > 7
+
 - name: ensure docker packages are installed
   action: "{{ docker_package_info.pkg_mgr }}"
   args:
@@ -53,7 +60,7 @@
     regexp: '^DOCKER_STORAGE_OPTIONS=.*$'
     state: present
     backup: yes
-  when: ansible_os_family == "RedHat"
+  when: ansible_distribution == "CentOS"
 
 - meta: flush_handlers
 
diff --git a/roles/docker/vars/redhat.yml b/roles/docker/vars/redhat.yml
index 24018dedf4c51e2c66974b354fa48085a16f10b4..9814089e0717ac4e74c679a49cfc63163a5e23d8 100644
--- a/roles/docker/vars/redhat.yml
+++ b/roles/docker/vars/redhat.yml
@@ -3,7 +3,7 @@ docker_kernel_min_version: '0'
 docker_package_info:
   pkg_mgr: yum
   pkgs:
-    - docker
+    - docker-engine
 
 docker_repo_key_info:
   pkg_key: ''
diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml
index d90570ca56405710a21e7f4670218e801e16b488..29fa2f1abb4236bacc6fad3fc17dc910ee96c22c 100644
--- a/roles/kubernetes/preinstall/tasks/main.yml
+++ b/roles/kubernetes/preinstall/tasks/main.yml
@@ -78,16 +78,12 @@
         ansible_distribution_major_version > 21
   changed_when: False
 
-- name: Install epel-release on RHEL
-  command: rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
-  when: ansible_distribution == "RedHat"
-
-- name: Install epel-release on CentOS
+- name: Install epel-release on RedHat/CentOS
   action:
     module: "{{ ansible_pkg_mgr }}"
     name: "epel-release"
     state: latest
-  when: ansible_distribution == "CentOS"
+  when: ansible_distribution in ['CentOS', 'RedHat']
 
 - name: Install packages requirements
   action: