1
0
Fork 0
forked from infra/ansible

yumrepos: fix rhel10-infra-stg repo also

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2026-07-09 15:09:04 -07:00
commit d6cca9eb11

View file

@ -116,9 +116,17 @@
- packages
- yumrepos
- name: Add infrastructure STAGING tags repo - RHEL
- name: Add infrastructure STAGING tags repo - RHEL (8,9)
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' and ansible_distribution_major_version|int != 10) and env in ['staging', 'pagure-staging']
tags:
- config
- packages
- yumrepos
- name: Add infrastructure STAGING tags repo - RHEL (10+)
ansible.builtin.copy: src="{{ files }}/common/rhel-infra-tags-stg-20260709.repo" dest="/etc/yum.repos.d/infra-tags-stg.repo"
when: (ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 10) and env in ['staging', 'pagure-staging']
tags:
- config
- packages