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

26 lines
445 B
YAML
Raw Normal View History

2024-03-17 18:21:46 -04:00
---
- name: Restart sshd
ansible.builtin.service:
name: sshd
state: restarted
enabled: true
2024-03-17 18:55:51 -04:00
- name: Reload ufw
2024-03-17 18:21:46 -04:00
ansible.builtin.service:
name: ufw
state: restarted
enabled: true
- name: Enable fail2ban
ansible.builtin.service:
name: fail2ban
state: restarted
enabled: true
- name: Enable systemd-timesyncd
ansible.builtin.service:
name: systemd-timesyncd
state: restarted
enabled: true