From 0230c3f85d0a733de725b7c5deaa40af0e692322 Mon Sep 17 00:00:00 2001 From: Mark O Brien Date: Tue, 21 Dec 2021 16:42:42 +0000 Subject: [PATCH] yumrepos: skip epel9-infra for now Signed-off-by: Mark O Brien --- tasks/yumrepos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 6ed69d33dd..2a955b798e 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -86,7 +86,7 @@ package: name: 'epel-release' state: present - when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and use_default_epel) and datacenter == "aws" + when: (((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int != 9) and use_default_epel) and datacenter == "aws" tags: - config - packages