refactor how osbs copr repos are handled for stage
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
1475f3b8f6
commit
8a5411535f
7 changed files with 33 additions and 12 deletions
13
tasks/osbs_repos.yml
Normal file
13
tasks/osbs_repos.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
|
||||
- name: install the atomic-reactor copr repo (fedora)
|
||||
copy:
|
||||
src: "{{files}}/osbs/maxamillion-atomic-reactor-fedora.repo"
|
||||
dest: "/etc/yum.repos.d/maxamillion-atomic-reactor-fedora.repo"
|
||||
when: env == "staging" and is_fedora is defined
|
||||
|
||||
- name: install the atomic-reactor copr repo (epel)
|
||||
copy:
|
||||
src: "{{files}}/osbs/maxamillion-atomic-reactor-epel.repo"
|
||||
dest: "/etc/yum.repos.d/maxamillion-atomic-reactor-epel.repo"
|
||||
when: env == "staging" and is_rhel is defined
|
Loading…
Add table
Add a link
Reference in a new issue