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

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