forked from infra/ansible
yumrepos: fix rhel10-infra-stg repo also
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
a326adbb30
commit
d6cca9eb11
1 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue