ansible-role-nginx/handlers/main.yml

9 lines
140 B
YAML
Raw Normal View History

2024-08-21 01:45:03 +00:00
---
- name: Start/Enable nginx
listen: "restart nginx"
ansible.builtin.systemd:
name: nginx
state: restarted
enabled: true