Fix bodhi-backend role and base role to use package instead of yum and install from bowlofeggs copr for fedora
This commit is contained in:
parent
f8417aef9f
commit
127acb80a7
3 changed files with 23 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
- bodhi
|
||||
|
||||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
package: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- mock
|
||||
- mash
|
||||
|
@ -112,7 +112,7 @@
|
|||
# tasks for setting up epelmasher
|
||||
|
||||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
package: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- repoview
|
||||
tags:
|
||||
|
|
8
roles/bodhi2/base/files/bowlofeggs-bodhi-fedora-24.repo
Normal file
8
roles/bodhi2/base/files/bowlofeggs-bodhi-fedora-24.repo
Normal file
|
@ -0,0 +1,8 @@
|
|||
[bowlofeggs-bodhi]
|
||||
name=Copr repo for bodhi owned by bowlofeggs
|
||||
baseurl=https://copr-be.cloud.fedoraproject.org/results/bowlofeggs/bodhi/fedora-$releasever-$basearch/
|
||||
skip_if_unavailable=True
|
||||
gpgcheck=1
|
||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/bowlofeggs/bodhi/pubkey.gpg
|
||||
enabled=1
|
||||
enabled_metadata=1
|
|
@ -12,10 +12,22 @@
|
|||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
when: ansible_distribution_major_version|int == 7
|
||||
|
||||
- name: setup the bodhi2 copr repo
|
||||
copy: >
|
||||
src="bowlofeggs-bodhi2-fedora-24.repo"
|
||||
dest="/etc/yum.repos.d/bowlofeggs-bodhi2-fedora-24.repo"
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
when: ansible_distribution_major_version|int == 24
|
||||
|
||||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
package: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- bodhi-server
|
||||
- libsemanage-python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue