From f5800a48dca0f19288adf6edb584172565a1b534 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 16 May 2022 10:55:52 +0100 Subject: [PATCH] Do not adjust libvirtd sysconfig for centos-9 Centos-9 no longer ships this file so skip adjusting it [1]. The file should not exist on Centos-9 systems where OSA is used. If this file is created by a deployer it will potentially interfere with the operation of libvirt and other configuration made by openstack-ansible. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2042529 Change-Id: Ieeba7fb803e151a9e6d0adac3d1512aef3785e9a --- tasks/drivers/kvm/nova_compute_kvm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/drivers/kvm/nova_compute_kvm.yml b/tasks/drivers/kvm/nova_compute_kvm.yml index e2986d3f..f0be3cd7 100644 --- a/tasks/drivers/kvm/nova_compute_kvm.yml +++ b/tasks/drivers/kvm/nova_compute_kvm.yml @@ -115,6 +115,7 @@ backup: "yes" when: - ansible_facts['pkg_mgr'] == 'dnf' + - ansible_facts['distribution_version'] is version('9', '<') notify: Restart libvirt-bin tags: - nova-config