mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
Fix docker install on rhel7
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user