summaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-04 16:39:29 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-31 08:19:22 +0100
commitf0488dccb2fe3cb7fc570372926abf0a312a8af8 (patch)
treefe9f421cad6d19ad27da4f68d58841c7078d6bc1 /handlers
parent649e6c4c696e369712ff18e792ef000125b5591c (diff)
Install nginx.
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