nginx/handlers/main.yaml
changeset 118 56bffa9ef826
parent 40 b42b417751e5
--- a/nginx/handlers/main.yaml	Sat Jul 04 18:07:07 2020 -0500
+++ b/nginx/handlers/main.yaml	Sun Jul 05 10:25:32 2020 -0500
@@ -2,4 +2,8 @@
 
 - name: restart nginx
   become: yes
-  systemd: name="nginx" state="restarted" daemon_reload="yes"
+  systemd: name="nginx.service" state="restarted" daemon_reload="yes"
+
+- name: reload nginx
+  become: yes
+  systemd: name="nginx.service" state="reloaded" daemon_reload="yes"