diff options
author | Kevin Fenzi <kevin@scrye.com> | 2017-01-17 23:40:30 +0000 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2017-01-17 23:40:30 +0000 |
commit | 33cac4123131ad6c2c2febf5f92f9007c264acf4 (patch) | |
tree | 02b0dc0852f2e06b29e7a5742f6508213c4fedbf /roles | |
parent | 8b054eeed7db79514a4c715e6e77312c9b2a256a (diff) | |
download | ansible-33cac4123131ad6c2c2febf5f92f9007c264acf4.tar.gz ansible-33cac4123131ad6c2c2febf5f92f9007c264acf4.tar.xz ansible-33cac4123131ad6c2c2febf5f92f9007c264acf4.zip |
for primary koji, add some other topurls to get dnf to retry things
Diffstat (limited to 'roles')
-rw-r--r-- | roles/koji_builder/templates/kojid.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index dec262cfa..149e760a5 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -18,9 +18,14 @@ rpmbuild_timeout=172800 use_createrepo_c=True +{% if {{koji_topurl}} == https://kojipkgs.fedoraproject.org/ %} +; add some additional urls for failover +topurl = {{koji_topurl}},https://kojipkgs01.fedoraproject.org,https://kojipkgs02.fedoraproject.org +{% else %} ;url of package download site topurl = {{koji_topurl}} +{% endif %} ; The directory root for temporary storage ; workdir=/tmp/koji |