Merge "Fix haproxy restarting twice per Ansible run"

This commit is contained in:
Zuul 2020-04-27 13:48:00 +00:00 committed by Gerrit Code Review
commit c151449e09
3 changed files with 15 additions and 4 deletions
ansible/roles/haproxy/tasks
releasenotes/notes

@ -3,5 +3,7 @@
- include_tasks: config.yml
- name: Flush handlers
meta: flush_handlers
# NOTE(yoctozepto): haproxy role handlers should not be flushed early.
# site.yml handles all haproxy things in a dedicated play.
# This is to avoid extra haproxy service restart.
# See: https://bugs.launchpad.net/kolla-ansible/+bug/1875228

@ -16,5 +16,7 @@
notify:
- Restart keepalived container
- name: Flush handlers
meta: flush_handlers
# NOTE(yoctozepto): haproxy role handlers should not be flushed early.
# site.yml handles all haproxy things in a dedicated play.
# This is to avoid extra haproxy service restart.
# See: https://bugs.launchpad.net/kolla-ansible/+bug/1875228

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes haproxy role to avoid restarting haproxy service multiple times
in a single Ansible run.
`LP#1864810 <https://launchpad.net/bugs/1864810>`__
`LP#1875228 <https://launchpad.net/bugs/1875228>`__