Make the yumrepos task behave as expected on pagure-stg
This commit is contained in:
parent
9637a6f23e
commit
e0dc614474
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@
|
|||
|
||||
- name: add infrastructure STAGING tags repo - RHEL
|
||||
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 == 'staging'
|
||||
when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and env in ['staging', 'pagure-staging']
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
- name: add infrastructure STAGING tags repo - Fedora
|
||||
copy: src="{{ files }}/common/fedora-infra-tags-stg.repo" dest="/etc/yum.repos.d/infra-tags-stg.repo"
|
||||
when: ansible_distribution == 'Fedora' and env == 'staging'
|
||||
when: ansible_distribution == 'Fedora' and env in ['staging', 'pagure-staging']
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue