summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--playbooks/devops.yaml5
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: