From 70ad0dccb5a721cce4ce534df790a7c1bcd91a2a Mon Sep 17 00:00:00 2001 From: Ron van der Heijden Date: Sat, 13 Jun 2020 14:20:26 +0200 Subject: [PATCH] Enable EPEL repo on CentOS 8+ --- tasks/setup-RedHat.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index f60ea15..4b2ed94 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -2,6 +2,11 @@ # See: https://github.com/geerlingguy/ansible-role-certbot/issues/107 - block: + - name: Enable EPEL repo on CentOS 8+ + yum: + name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + state: present + - name: Ensure dnf-plugins are installed on CentOS 8+. yum: name: dnf-plugins-core