[doc] Update haproxy service example

With changes to haproxy role, we no longer require having
`service` key in list of services. Such defenition is considered
deprecated and should not be referenced in docs.
Change-Id: I168f75cb89580d1924bd42101d11628281426b1e
This commit is contained in:
Dmitriy Rabotyagov
2025年02月26日 12:43:26 +01:00
parent b25db7deda
commit c98afad3dc

View File

@@ -25,17 +25,16 @@ delays in case of backend failure. We need to define the following in your
haproxy_memcached_allowlist_networks:"{{ haproxy_allowlist_networks }}"
memcached_servers:"{{ internal_lb_vip_address ~ ':' ~ memcached_port }}"
haproxy_extra_services:
- service:
haproxy_service_name:memcached
haproxy_backend_nodes:"{{ groups['memcached'] | default([]) }}"
haproxy_bind:"{{ [internal_lb_vip_address] }}"
haproxy_port:11211
haproxy_balance_type:tcp
haproxy_balance_alg:source
haproxy_backend_ssl:False
haproxy_backend_options:
- tcp-check
haproxy_allowlist_networks:"{{ haproxy_memcached_allowlist_networks }}"
- haproxy_service_name:memcached
haproxy_backend_nodes:"{{ groups['memcached'] | default([]) }}"
haproxy_bind:"{{ [internal_lb_vip_address] }}"
haproxy_port:11211
haproxy_balance_type:tcp
haproxy_balance_alg:source
haproxy_backend_ssl:False
haproxy_backend_options:
- tcp-check
haproxy_allowlist_networks:"{{ haproxy_memcached_allowlist_networks }}"
After setting this you will need to update haproxy and all services
configuration to use new memcached backend:
Reference in New Issue
openstack/openstack-ansible-memcached_server
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.