mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
use docker repository to install on CentOS
This commit is contained in:
@@ -79,11 +79,10 @@
|
||||
changed_when: False
|
||||
|
||||
- name: Install epel-release on RedHat/CentOS
|
||||
action:
|
||||
module: "{{ ansible_pkg_mgr }}"
|
||||
name: "epel-release"
|
||||
state: latest
|
||||
when: ansible_distribution in ['CentOS', 'RedHat']
|
||||
command: rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
when: ansible_distribution in ["CentOS","RedHat"] and
|
||||
ansible_distribution_major_version >= 7
|
||||
changed_when: False
|
||||
|
||||
- name: Install packages requirements
|
||||
action:
|
||||
|
||||
Reference in New Issue
Block a user