ansible/roles/nginx/handlers/main.yaml

11 lines
177 B
YAML

---
- name: Reload nginx
ansible.builtin.systemd:
name: nginx
state: reloaded
enabled: true
listen: "Reload app-services"
when:
- nginx_sites is defined