From 7513b5b74f940e56795f372ac477a71fca4e6f8b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 16 Feb 2022 15:30:01 -0800 Subject: [PATCH] Reload haproxy when its config updates Without this our config changes are not applying to the running service until something else reloads or restarts the service. Change-Id: I4df229d1c42f06159a4b320d4b6a07c5239ca111 --- playbooks/roles/haproxy/tasks/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/haproxy/tasks/main.yaml b/playbooks/roles/haproxy/tasks/main.yaml index cf9f6b5c27..5cfce31519 100644 --- a/playbooks/roles/haproxy/tasks/main.yaml +++ b/playbooks/roles/haproxy/tasks/main.yaml @@ -25,6 +25,7 @@ owner: 1000 group: 1000 mode: 0644 + notify: Reload haproxy - name: Ensure docker compose configuration directory file: @@ -41,8 +42,8 @@ owner: root group: root mode: 0644 - notify: Reload haproxy + - name: Run docker-compose pull shell: cmd: docker-compose pull