From 3523d46f1744cc48245d0e18d993584cdcf9f766 Mon Sep 17 00:00:00 2001 From: Joshua Lusk Date: Tue, 26 May 2026 09:42:50 -0400 Subject: ensure nginx is properly restarted --- playbooks/devops.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/devops.yaml b/playbooks/devops.yaml index 29126e0..daf0900 100644 --- a/playbooks/devops.yaml +++ b/playbooks/devops.yaml @@ -66,6 +66,7 @@ provider: selfsigned selfsigned_not_after: "+{{ mtls.ca.days }}d" mode: "0644" + notify: Test and restart nginx - name: Generate client private key community.crypto.openssl_privatekey: @@ -121,6 +122,8 @@ src: nginx/hollyhock.conf.j2 dest: "/etc/nginx/sites-available/hollyhock" mode: "0644" + notify: + - Test and restart nginx - name: Disable http and https nginx sites ansible.builtin.file: @@ -129,6 +132,8 @@ loop: - /etc/nginx/sites-enabled/hollyhock-http - /etc/nginx/sites-enabled/hollyhock-https + notify: + - Test and restart nginx - name: Enable nginx config ansible.builtin.file: -- cgit v1.2.3