iad2: For some reason python3 ansible catches this. Cast FedoraBranchedNUmber to int here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-03 09:41:58 -07:00
parent 2be7045bfc
commit ddb96ead29
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber if FedoraBranched|int is defined else FedoraRawhideNumber|int ) %}
{% if ansible_distribution_major_version|int < ( FedoraBranchedNumber|int if FedoraBranched|int is defined else FedoraRawhideNumber|int ) %}
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/tree/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
{% else %}