From dda11aa0439ea09df560e149978b7d72a6757589 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 27 Nov 2025 15:27:09 +0000 Subject: [PATCH] Reload haproxy when static files are changed If the content of any static files are changed, haproxy must be reloaded in order for them to be served rather than the previous versions. Change-Id: I72101fed2919014bbebbaf4323f72decbea8a638 Signed-off-by: Jonathan Rosser --- tasks/haproxy_pre_install.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/haproxy_pre_install.yml b/tasks/haproxy_pre_install.yml index a52908d..6102dfd 100644 --- a/tasks/haproxy_pre_install.yml +++ b/tasks/haproxy_pre_install.yml @@ -91,3 +91,5 @@ - (item.condition | default(True)) loop: "{{ haproxy_static_files }}" no_log: true + notify: + - Reload haproxy