Generate HAProxy configuration for all enabled servvices
This change applys the HAProxy tag to the entire play, ensuring HAProxy
configuration is generated for all services when the HAProxy tag is
specified.
Change-Id: I67f57c831a713142d38c6e7b70f814a9ee8e5aae
Closes-Bug: #1855094
(cherry picked from commit e6e6c41538
)
This commit is contained in:
parent
d16a35ede4
commit
741156d22d
@ -117,9 +117,10 @@
|
|||||||
hosts:
|
hosts:
|
||||||
- haproxy
|
- haproxy
|
||||||
- '&enable_haproxy_True'
|
- '&enable_haproxy_True'
|
||||||
|
tags:
|
||||||
|
- haproxy
|
||||||
roles:
|
roles:
|
||||||
- { role: haproxy,
|
- { role: haproxy,
|
||||||
tags: haproxy,
|
|
||||||
when: enable_haproxy | bool }
|
when: enable_haproxy | bool }
|
||||||
tasks:
|
tasks:
|
||||||
- block:
|
- block:
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
When upgrading from Rocky to Stein HAProxy configuration moves from using a
|
||||||
|
single configuration to assembling a file from snippets for each service.
|
||||||
|
Applying the HAProxy tag to the entire play ensures that HAProxy
|
||||||
|
configuration is generated for all services when the HAProxy tag is
|
||||||
|
specified. For details please see
|
||||||
|
`bug 1855094 <https://bugs.launchpad.net/kolla-ansible/+bug/1855094>`__.
|
Loading…
Reference in New Issue
Block a user