Add staging tag repos

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-02-16 19:53:14 +00:00
parent 47c396423d
commit 9bc43cb2e5
3 changed files with 28 additions and 0 deletions

View 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

View 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

View file

@ -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