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

26 lines
445 B
YAML
Raw Permalink Normal View History

2024-05-01 04:33:35 -04:00
---
- name: Restart sshd
ansible.builtin.service:
name: sshd
state: restarted
enabled: true
- name: Reload ufw
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