From 36ae7cc97c097d7dd9d6bc0b5b0fa444af4b35e8 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Wed, 6 Sep 2023 12:05:57 +0200 Subject: [PATCH] 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) --- tasks/neutron_post_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/neutron_post_install.yml b/tasks/neutron_post_install.yml index d318c74c..585eb432 100644 --- a/tasks/neutron_post_install.yml +++ b/tasks/neutron_post_install.yml @@ -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