From 663f009a60818b56eff42b26bd6c5d9fd4f1ae32 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 28 Mar 2019 16:27:57 +0000 Subject: [PATCH] virthost: need to include global vars so cycle variables get set right. Signed-off-by: Kevin Fenzi --- files/common/fedora.repo-secondary | 2 -- playbooks/groups/virthost.yml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/files/common/fedora.repo-secondary b/files/common/fedora.repo-secondary index d332aa7ffc..c97d40fd91 100644 --- a/files/common/fedora.repo-secondary +++ b/files/common/fedora.repo-secondary @@ -1,14 +1,12 @@ [fedora] name=Fedora $releasever - $basearch failovermethod=priority - {% if ansible_distribution_major_version|int < ( FedoraBranchedNumber if FedoraBranched is defined else FedoraRawhideNumber ) %} baseurl=https://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/$basearch/os/ #metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch {% else %} baseurl=https://infrastructure.fedoraproject.org/pub/fedora-secondary/development/$releasever/Everything/$basearch/os/ {% endif %} - enabled=1 metadata_expire=7d gpgcheck=1 diff --git a/playbooks/groups/virthost.yml b/playbooks/groups/virthost.yml index 52abc60cae..b962f54940 100644 --- a/playbooks/groups/virthost.yml +++ b/playbooks/groups/virthost.yml @@ -16,6 +16,7 @@ pre_tasks: - import_tasks: "{{ tasks_path }}/yumrepos.yml" + - include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README roles: - base