Fix conditional for ovs
when deploying ovs on compute the mapping might be equals to : "network_mappings": "". this prevent the tasks to fail. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/778008/ Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/778015/ Change-Id: I8f1407f895ffef7573e8b3b9c72514e2009da594
This commit is contained in:
parent
f441b212f5
commit
55d6b6d74c
@ -24,7 +24,7 @@
|
||||
when:
|
||||
- neutron_services['neutron-openvswitch-agent']['group'] in group_names
|
||||
- neutron_plugin_type in ['ml2.ovs', 'ml2.ovs.dvr']
|
||||
- neutron_provider_networks.network_mappings is defined
|
||||
- neutron_provider_networks.network_mappings is defined and (neutron_provider_networks.network_mappings|length > 0)
|
||||
- not ovs_dpdk_support
|
||||
|
||||
- name: Add ports to Network Provider Bridges
|
||||
|
Loading…
Reference in New Issue
Block a user