mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-07 17:37:39 -02:30
Merge pull request #123 from Smana/install_epel_rhel
install epel release for rhel
This commit is contained in:
@@ -52,6 +52,14 @@
|
|||||||
ansible_distribution_major_version > 21
|
ansible_distribution_major_version > 21
|
||||||
changed_when: False
|
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
|
- name: Install packages requirements
|
||||||
action:
|
action:
|
||||||
module: "{{ ansible_pkg_mgr }}"
|
module: "{{ ansible_pkg_mgr }}"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
required_pkgs:
|
required_pkgs:
|
||||||
- epel-release
|
|
||||||
- libselinux-python
|
- libselinux-python
|
||||||
- device-mapper-libs
|
- device-mapper-libs
|
||||||
|
|||||||
Reference in New Issue
Block a user