nginx/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 24 Jul 2021 22:12:04 -0500
changeset 173 82f2bcbc5aca
parent 118 56bffa9ef826
permissions -rw-r--r--
Fixed typo

---

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