From 849430637741e2ca7654c3401e16886de440cb33 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 30 May 2025 19:29:26 -0700 Subject: [PATCH] repos: we have not yet setup epel10 infra tags and need to Signed-off-by: Kevin Fenzi --- tasks/yumrepos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 4ef95469b4..ebe14c744d 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -102,7 +102,7 @@ - name: Add infrastructure tags repo - RHEL ansible.builtin.copy: src="{{ files }}/common/rhel-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo" - when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS')) + when: ((ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and ansible_distribution_major_version|int < 10) tags: - config - packages @@ -110,7 +110,7 @@ - name: Add infrastructure STAGING tags repo - RHEL ansible.builtin.copy: src="{{ files }}/common/rhel-infra-tags-stg.repo" dest="/etc/yum.repos.d/infra-tags-stg.repo" - when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and env in ['staging', 'pagure-staging'] + when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and env in ['staging', 'pagure-staging'] and ansible_distribution_major_version|int < 10 tags: - config - packages