nginx/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 29 Jul 2024 12:41:57 -0500
changeset 237 c6c11084c802
parent 118 56bffa9ef826
permissions -rw-r--r--
Cleaned up always-changed status tasks.

---

- 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"