From 0536843b26789d9bc8eee4e5a73190613aaa2f6b Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 2 Dec 2021 06:00:26 +0200 Subject: [PATCH] Fix PKI include condition In order for AIO to pass against ironic role, we need to cover the case when ironic_compute == nova_compute host. For that we use more common condition and verifying virt_type which must be set for Ironic. Change-Id: I7540e4c6848bad80c368a1227b09437428fe64a2 Closes-Bug: #1952649 --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 08f775bb..ff575f16 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -134,7 +134,7 @@ when: - nova_libvirtd_listen_tls == 1 - "'nova_compute' in group_names" - - "'ironic_compute' not in group_names" + - nova_virt_type != 'ironic' # Create certs after nova groups have been created but before handlers - name: Create and install SSL certificates for console hosts