From 13c3ad4325fe63bcbd649591cf78ae115ea2a8b9 Mon Sep 17 00:00:00 2001 From: cloudnull Date: Tue, 26 Mar 2019 14:18:53 -0500 Subject: [PATCH] Remove linked libs when using ironic compute The ironic compute hosts do not need to have linked libs within the venv. This change sets the linked libs list to null when the compute host virt type is "ironic". Change-Id: Ia956e3012555ea79fdf70a700ae6506c506c6db3 Signed-off-by: cloudnull --- tasks/nova_virt_detect.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/nova_virt_detect.yml b/tasks/nova_virt_detect.yml index 88838774..3d20be88 100644 --- a/tasks/nova_virt_detect.yml +++ b/tasks/nova_virt_detect.yml @@ -50,3 +50,9 @@ nova_virt_type: "qemu" when: - nova_virt_type is not defined + +- name: Remove lib linking for kvm with ironic + set_fact: + nova_compute_kvm_packages_to_symlink: [] + when: + - nova_virt_type == 'ironic'