fix atomic-reactor repos to also handle epel
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
fdb5bbcce6
commit
6463682e07
2 changed files with 15 additions and 1 deletions
|
@ -0,0 +1,8 @@
|
|||
[maxamillion-atomic-reactor]
|
||||
name=Copr repo for atomic-reactor owned by maxamillion
|
||||
baseurl=https://copr-be.cloud.fedoraproject.org/results/maxamillion/atomic-reactor/epel-7-$basearch/
|
||||
skip_if_unavailable=True
|
||||
gpgcheck=1
|
||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/maxamillion/atomic-reactor/pubkey.gpg
|
||||
enabled=1
|
||||
enabled_metadata=1
|
|
@ -3,7 +3,13 @@
|
|||
copy:
|
||||
src: maxamillion-atomic-reactor-fedora.repo
|
||||
dest: /etc/yum.repos.d/maxamillion-atomic-reactor-fedora.repo
|
||||
when: atomic_reactor_rpm.copr == True
|
||||
when: atomic_reactor_rpm.copr == True and is_fedora == True
|
||||
|
||||
- name: setup COPR repository for atomic-reactor builds
|
||||
copy:
|
||||
src: maxamillion-atomic-reactor-epel.repo
|
||||
dest: /etc/yum.repos.d/maxamillion-atomic-reactor-epel.repo
|
||||
when: atomic_reactor_rpm.copr == True and is_rhel == True
|
||||
|
||||
- name: install atomic-reactor package locally
|
||||
action: "{{ ansible_pkg_mgr }} name=atomic-reactor state=latest"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue