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