Generate OVN certs only for OVN scenario

At the moment we're generating OVN certificates regardless of
the scenario which produces unnecesary changes.

Change-Id: Ie870aa656c467b21441a38cebf7c6a075342d50f
This commit is contained in:
Dmitriy Rabotyagov 2023-01-27 16:24:24 +01:00 committed by Dmitriy Rabotyagov
parent a6001b7a36
commit d083bfcc55
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@
pki_certificates: "{{ neutron_ovn_pki_certificates }}"
pki_install_certificates: "{{ neutron_ovn_pki_install_certificates }}"
when:
- neutron_plugin_type == 'ml2.ovn'
- neutron_ovn_ssl
- (neutron_services['neutron-ovn-controller']['group'] in group_names) or (neutron_services['neutron-ovn-northd']['group'] in group_names) or (neutron_services['neutron-server']['group'] in group_names)
tags: