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. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/897982 Change-Id: Ia5b44729858dd9f742f1094f46e3cde1ceb70495 (cherry picked from commit 30ef7c945fc6c0d9c1b6c67988687cfafd2fec05)
This commit is contained in:
parent
cc9e79a206
commit
36ae7cc97c
@ -210,7 +210,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user