nginx/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 07 Sep 2020 15:06:06 -0500
changeset 139 4efa743f2fa1
parent 118 56bffa9ef826
permissions -rw-r--r--
Added optional log level change.

---

- name: restart nginx
  become: yes
  systemd: name="nginx.service" state="restarted" daemon_reload="yes"

- name: reload nginx
  become: yes
  systemd: name="nginx.service" state="reloaded" daemon_reload="yes"