From 7c7ebab16e961fb2908b01f0eee5346e016a9e9f Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Wed, 16 Mar 2022 11:10:53 +0100 Subject: [PATCH] Workaround for AlmaLinux and RockyLinux --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 7696c1a..6e0169c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: "Test if EPEL ist necessary" fail: msg="This system does not need EPEL" - when: ansible_os_family != "RedHat" or ansible_distribution == "Fedora" + when: ansible_os_family not in ["RedHat", "AlmaLinux", "Rocky"] or ansible_distribution == "Fedora" - name: Update CA-Certificates