install modulemd repo on copr-frontend

This commit is contained in:
clime 2016-09-20 06:14:42 +02:00
parent fd2a20972b
commit b6eefb046a
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[group_modularity-modulemd_custom]
name=Copr Modularity repo
failovermethod=priority
baseurl=file:///var/lib/copr/public_html/results/@modularity/modulemd/fedora-$releasever-x86_64/
http://209.132.184.48/results/@modularity/modulemd/fedora-$releasever-x86_64/
https://copr-be.cloud.fedoraproject.org/results/@modularity/modulemd/fedora-$releasever-x86_64/
http://172.25.32.109/results/@modularity/modulemd/fedora-$releasever-x86_64/
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/@modularity/modulemd/pubkey.gpg
enabled=1
skip_if_unavailable=1

View file

@ -8,6 +8,11 @@
command: "restorecon -vvRF /var/lib/pgsql"
when: pgsql_ls.stdout is defined and 'postgresql_db_t' not in pgsql_ls.stdout
- name: install copr modularity repofile
copy: src="yum/_copr_@modularity-modulemd.custom.repo" dest="/etc/yum.repos.d/_copr_@modularity-modulemd.custom.repo"
tags:
- config
# BZ 1241507
- name: install copr-frontend
shell: yum-deprecated install -y copr-frontend || yum install -y copr-frontend