diff --git a/ansible/site.yml b/ansible/site.yml index ff6c8488c6..6658f33fea 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -117,9 +117,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 `__.