Skip to content
Snippets Groups Projects
Commit 4d3f6c65 authored by Smaine Kahlouch's avatar Smaine Kahlouch
Browse files

install epel release for rhel

install required packages before common

roles/kubernetes/preinstall/tasks/main.yml
parent 6eff3f0f
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}"
......
required_pkgs:
- epel-release
- libselinux-python
- device-mapper-libs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment