nginx/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Thu, 26 Nov 2020 18:29:22 -0600
changeset 146 3e5aac52f2bd
parent 118 56bffa9ef826
permissions -rw-r--r--
Expanded yaml file extension name.

---

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