12 lines
199 B
YAML
12 lines
199 B
YAML
|
|
---
|
||
|
|
- name: restart sshd
|
||
|
|
ansible.builtin.service:
|
||
|
|
name: sshd
|
||
|
|
state: restarted
|
||
|
|
|
||
|
|
- name: restart fail2ban
|
||
|
|
ansible.builtin.service:
|
||
|
|
name: fail2ban
|
||
|
|
state: restarted
|
||
|
|
enabled: true
|