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
This commit is contained in:
Dmitriy Rabotyagov 2021-12-02 06:00:26 +02:00
parent 9200186888
commit 0536843b26

View File

@ -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