14 lines
242 B
YAML
14 lines
242 B
YAML
---
|
|
- name: restart ssh
|
|
ansible.builtin.service:
|
|
name: ssh
|
|
state: restarted
|
|
|
|
- name: restart fail2ban
|
|
ansible.builtin.service:
|
|
name: fail2ban
|
|
state: restarted
|
|
|
|
- name: enable ufw
|
|
community.general.ufw:
|
|
state: enabled |