aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/web/handlers/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/web/handlers/main.yml b/roles/web/handlers/main.yml
index 765d2c1..ee5bd0d 100644
--- a/roles/web/handlers/main.yml
+++ b/roles/web/handlers/main.yml
@@ -1,3 +1,5 @@
---
- name: reload-nginx
- command: rcreload nginx
+ service:
+ name: nginx
+ state: reloaded