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

Merge branch 'fix' into 'master'

"OracleLinux"

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