Check for groups[service_group] length

Change-Id: If9d99785e66962dbc66a7bf3a050a1dd935943d1
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
Dmitriy Rabotyagov
2026-01-30 12:52:34 +01:00
parent 356aaf02a7
commit d78932cc08

View File

@@ -54,7 +54,7 @@
service_group: neutron_server
service_variable: "neutron_haproxy_services"
when:
- groups[service_group]
- groups[service_group] | length > 0
- groups['haproxy'] | length > 0
tags:
- haproxy-service-config