Files
openstack-ansible-haproxy_s…/tests/test-vars.yml
Dmitriy Chubinidze 7a663fe5d9 Replace deprecated _haproxy_service_configs_simplified variable
with haproxy_service_configs

Change-Id: I9e593be60df21af88433262fad5e03ec3ede5146
Signed-off-by: Dmitriy Chubinidze <dcu995@gmail.com>
2025-12-03 17:30:23 +00:00

39 lines
1.1 KiB
YAML

---
external_lb_vip_address: 127.0.0.1
internal_lb_vip_address: 127.0.0.1
haproxy_pki_setup_host: "{{ inventory_hostname }}"
haproxy_service_configs:
- haproxy_service_name: test_group
haproxy_backend_nodes: "{{ groups['haproxy_all'] | default([]) }}"
haproxy_port: 8180
haproxy_backend_port: 22
haproxy_ssl: False
haproxy_balance_type: tcp
haproxy_backend_options:
- tcp-check
- haproxy_service_name: test_list
haproxy_backend_nodes:
- name: "localhost"
ip_addr: "127.0.0.1"
haproxy_port: 8181
haproxy_backend_port: 22
haproxy_ssl: False
haproxy_balance_type: tcp
haproxy_backend_options:
- tcp-check
- haproxy_service_name: test_backend_ssl
haproxy_backend_nodes: "{{ groups['haproxy_all'] | default([]) }}"
haproxy_port: 8180
haproxy_backend_port: 443
haproxy_backend_ssl: True
haproxy_backend_ca: False
haproxy_ssl: False
haproxy_balance_type: http
- haproxy_service_name: test_absent_service
haproxy_backend_nodes:
- name: "localhost"
ip_addr: "127.0.0.1"
haproxy_port: 65535
haproxy_balance_type: tcp
state: present