aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/handlers')
-rw-r--r--roles/nginx/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/nginx/handlers/main.yml b/roles/nginx/handlers/main.yml
new file mode 100644
index 0000000..6ec4482
--- /dev/null
+++ b/roles/nginx/handlers/main.yml
@@ -0,0 +1,7 @@
+---
+- name: restart nginx
+ systemd:
+ name: nginx
+ enabled: true
+ state: restarted
+ become: true