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:
Scott Solkhon 2019-12-04 11:31:45 +00:00 committed by Mark Goddard
parent d16a35ede4
commit 741156d22d
2 changed files with 11 additions and 1 deletions

View File

@ -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:

View File

@ -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>`__.