From 96b0405bd9a7f813b6b5b223f0c8327f674feb2f Mon Sep 17 00:00:00 2001 From: Wesley Hayutin Date: Thu, 27 May 2021 10:04:11 -0600 Subject: [PATCH] repo-setup should execute on the virthost The virthost in baremetal environments are not refreshing the repos etc, and should be Change-Id: Ia38ef3737f4d24d4f0cf705788563248e3119182 --- playbooks/baremetal-prep-virthost.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/baremetal-prep-virthost.yml b/playbooks/baremetal-prep-virthost.yml index 54ef54cd1..5500c106c 100644 --- a/playbooks/baremetal-prep-virthost.yml +++ b/playbooks/baremetal-prep-virthost.yml @@ -26,6 +26,14 @@ - include: teardown-nodes.yml - include: teardown-environment.yml +- name: setup yum repos on virthost + hosts: virthost + gather_facts: true + roles: + - repo-setup + tags: + - provision + # The `environment/setup` role performs any tasks that require `root` # access on the target host. - name: Install libvirt packages and configure networks