diff options
| author | Joshua Lusk <luskjh@gmail.com> | 2026-05-26 09:42:50 -0400 |
|---|---|---|
| committer | Joshua Lusk <luskjh@gmail.com> | 2026-05-26 09:42:50 -0400 |
| commit | 3523d46f1744cc48245d0e18d993584cdcf9f766 (patch) | |
| tree | 02d7b420ab65b11b876ae7c302c7954b24d7ce3a | |
| parent | 1e0b678fa320ecdcf1e36363e87911d93fa6920b (diff) | |
ensure nginx is properly restarted
| -rw-r--r-- | playbooks/devops.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
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: |
