mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
Add staging tag repos
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
6
files/common/fedora-infra-tags-stg.repo
Normal file
6
files/common/fedora-infra-tags-stg.repo
Normal file
@@ -0,0 +1,6 @@
|
||||
[infrastructure-tags]
|
||||
name=Fedora Infrastructure staging tag $releasever - $basearch
|
||||
baseurl=http://infrastructure.fedoraproject.org/repo/infra/f$releasever-infra-stg/$basearch/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=http://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
||||
6
files/common/rhel-infra-tags-stg.repo
Normal file
6
files/common/rhel-infra-tags-stg.repo
Normal file
@@ -0,0 +1,6 @@
|
||||
[infrastructure-tags]
|
||||
name=Fedora Infrastructure tag $releasever - $basearch
|
||||
baseurl=http://infrastructure.fedoraproject.org/repo/infra/epel$releasever-infra-stg/$basearch/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=http://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
|
||||
@@ -65,6 +65,14 @@
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
- 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'
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
- name: add infrastructure tags repo - Fedora
|
||||
copy: src="{{ files }}/common/fedora-infra-tags.repo" dest="/etc/yum.repos.d/infra-tags.repo"
|
||||
when: ansible_distribution == 'Fedora'
|
||||
@@ -72,3 +80,11 @@
|
||||
- config
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
- 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'
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
- yumrepos
|
||||
|
||||
Reference in New Issue
Block a user