diff --git a/ansible/site.yml b/ansible/site.yml index b292cdc4f9..414a6bbc96 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -114,9 +114,10 @@ hosts: - haproxy - '&enable_haproxy_True' + tags: + - haproxy roles: - { role: haproxy, - tags: haproxy, when: enable_haproxy | bool } tasks: - block: diff --git a/releasenotes/notes/haproxy-tag-entire-play-537aed55ffd947be.yaml b/releasenotes/notes/haproxy-tag-entire-play-537aed55ffd947be.yaml new file mode 100644 index 0000000000..b17eab5f58 --- /dev/null +++ b/releasenotes/notes/haproxy-tag-entire-play-537aed55ffd947be.yaml @@ -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 `__.