summaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/handlers/main.yml b/handlers/main.yml
index 9a4521f..c241ecc 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -40,3 +40,9 @@
- name: Update initramfs
command: /usr/sbin/update-initramfs -u
+
+- name: Restart nginx
+ service: name=nginx.service state=restarted
+
+- name: Reload nginx
+ service: name=nginx.service state=reloaded