diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 5ea45f386d..d8fcf775e3 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -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