infra/playbooks/roles/nginx/handlers/main.yml

13 lines
192 B
YAML

---
- name: Restart nginx
ansible.builtin.service:
name: nginx
state: restarted
enabled: true
- name: Restart ufw
ansible.builtin.service:
name: ufw
state: restarted