49711c6540
With the release of fedora-28, the default locations for fedora-update.repo have changed. We still need to support fedora-27 until fedora-29 is released. Change-Id: I8eacd659cf18a8dc571aea6531483610fcd91d1a Signed-off-by: Paul Belanger <pabelanger@redhat.com>
49 lines
1.4 KiB
Django/Jinja
49 lines
1.4 KiB
Django/Jinja
# {{ ansible_managed }}
|
|
[updates]
|
|
name=Fedora $releasever - $basearch - Updates
|
|
failovermethod=priority
|
|
{% if ansible_distribution_version | version_compare('28', '<') %}
|
|
baseurl={{ package_mirror }}/updates/$releasever/$basearch/
|
|
{% else %}
|
|
baseurl={{ package_mirror }}/updates/$releasever/Everything/$basearch/
|
|
{% endif %}
|
|
enabled=1
|
|
repo_gpgcheck=0
|
|
type=rpm
|
|
gpgcheck=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
skip_if_unavailable=False
|
|
|
|
[updates-debuginfo]
|
|
name=Fedora $releasever - $basearch - Updates - Debug
|
|
failovermethod=priority
|
|
{% if ansible_distribution_version | version_compare('28', '<') %}
|
|
baseurl={{ package_mirror }}/updates/$releasever/$basearch/debug/
|
|
{% else %}
|
|
baseurl={{ package_mirror }}/updates/$releasever/Everything/$basearch/debug/tree/
|
|
{% endif %}
|
|
enabled=0
|
|
repo_gpgcheck=0
|
|
type=rpm
|
|
gpgcheck=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
skip_if_unavailable=False
|
|
|
|
[updates-source]
|
|
name=Fedora $releasever - Updates Source
|
|
failovermethod=priority
|
|
{% if ansible_distribution_version | version_compare('28', '<') %}
|
|
baseurl={{ package_mirror }}/updates/$releasever/SRPMS/
|
|
{% else %}
|
|
baseurl={{ package_mirror }}/updates/$releasever/Everything/source/tree/
|
|
{% endif %}
|
|
enabled=0
|
|
repo_gpgcheck=0
|
|
type=rpm
|
|
gpgcheck=1
|
|
metadata_expire=6h
|
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
|
skip_if_unavailable=False
|