nginx/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 24 Jul 2021 18:15:24 -0500
changeset 172 21cfe5ba8d13
parent 118 56bffa9ef826
permissions -rw-r--r--
More fixes.

---

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