Skip to content
Snippets Groups Projects
Commit edfbc855 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

Merge branch 'fix' into 'master'

"OracleLinux"

See merge request ansible/roles/essential!12
parents fe7d9795 d4ea4f73
No related branches found
No related tags found
No related merge requests found
---
- name: Enable EPEL repo
- name: Enable EPEL repo with standard package
dnf:
name: epel-release
state: present
update_cache: yes
when: apply_epel is defined and apply_epel
when: apply_epel is defined and apply_epel and (ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux')
- name: Enable EPEL repo with external package
dnf:
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
state: present
update_cache: yes
when: apply_epel is defined and apply_epel and ansible_distribution == 'OracleLinux'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment