commit 1efe0fe333ff869ea0a04ff87a11ff27a251560b
Author: Christian Berendt <email address hidden>
Date: Tue Feb 18 13:02:28 2020 +0100
Avoid multiple haproxy restarts after reconfiguration
The haproxy role and the site.yml file calls the
haproxy-config role to provide configuration for individual
services.
If the configuration within a service changes, the haproxy
container is restarted.
If the configuration in n services changes, there will be n
restarts. This is not necessary, a restart at the end is
sufficient.
By removing the handler from the haproxy-config role and
using the listen parameter in the handler of the haproxy role,
the handler is executed only once.
Reviewed: https:/ /review. opendev. org/708385 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=1efe0fe333f f869ea0a04ff87a 11ff27a251560b
Committed: https:/
Submitter: Zuul
Branch: master
commit 1efe0fe333ff869 ea0a04ff87a11ff 27a251560b
Author: Christian Berendt <email address hidden>
Date: Tue Feb 18 13:02:28 2020 +0100
Avoid multiple haproxy restarts after reconfiguration
The haproxy role and the site.yml file calls the
haproxy-config role to provide configuration for individual
services.
If the configuration within a service changes, the haproxy
container is restarted.
If the configuration in n services changes, there will be n
restarts. This is not necessary, a restart at the end is
sufficient.
By removing the handler from the haproxy-config role and
using the listen parameter in the handler of the haproxy role,
the handler is executed only once.
Change-Id: I535fe67579fb74 8093bb4b30a6bd3 1b81e021a1b
Closes-Bug: #1864810