aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nginx/handlers/main.yml
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-03-19 21:23:18 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-03-19 21:23:18 +0100
commit503de953a9be6d8d57495ef400f1341b3888f3f0 (patch)
tree29a7041a85ba9c90967ffff61115ed008f7d6c6a /ansible/roles/nginx/handlers/main.yml
parentc1daa61121ad6800bff06e9b194d402a511d67a8 (diff)
ansible: add notifys to restart ufw w/ handlers
Diffstat (limited to 'ansible/roles/nginx/handlers/main.yml')
-rw-r--r--ansible/roles/nginx/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/nginx/handlers/main.yml b/ansible/roles/nginx/handlers/main.yml
new file mode 100644
index 0000000..58ffefd
--- /dev/null
+++ b/ansible/roles/nginx/handlers/main.yml
@@ -0,0 +1,6 @@
+---
+- name: Restart Nginx
+ ansible.builtin.service:
+ name: nginx
+ state: restarted
+...