Fix typo for vpnaas_custom_config distribution

Accidentally condition was to check a group against `group_name`,
while this should be `group_names`. Right now in case of definition
neutron_vpnaas_custom_config role will fail with undefined variable.

Change-Id: Ia5b44729858dd9f742f1094f46e3cde1ceb70495
This commit is contained in:
Dmitriy Rabotyagov 2023-09-06 12:05:57 +02:00
parent 733c4cf8c5
commit 30ef7c945f

View File

@ -211,7 +211,7 @@
loop: "{{ neutron_vpnaas_custom_config }}"
when:
- neutron_vpnaas_custom_config | length > 0
- neutron_services['neutron-l3-agent']['group'] in group_name
- neutron_services['neutron-l3-agent']['group'] in group_names
- item.condition | default(True)
- name: Stop haproxy service on debian derivatives with standalone network nodes