From 9c04bfb7d6c785ed6146b86b79d0028c20c68921 Mon Sep 17 00:00:00 2001 From: lhahn Date: Wed, 14 Oct 2026 17:47:26 +0200 Subject: [PATCH] Reload nginx when nginx.conf changes The main config template had no notify, so e.g. a new PHP-FPM upstream socket only took effect after a manual reload. Co-Authored-By: Claude Opus 5.5 --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index e47f915..53043a3 100755 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,6 +11,7 @@ template: src: etc/nginx/nginx.conf.j2 dest: "{{ nginx_root_dir }}/nginx.conf" + notify: reload nginx - name: setup nginx non-default folders file: