ansible-role-nginx/handlers/main.yml
2024-05-04 00:33:42 +00:00

9 lines
140 B
YAML

---
- name: Start/Enable nginx
listen: "restart nginx"
ansible.builtin.systemd:
name: nginx
state: restarted
enabled: true