14 lines
290 B
YAML
14 lines
290 B
YAML
---
|
|
# handlers file for node-configuration
|
|
- name: Restart sshd service
|
|
ansible.builtin.service:
|
|
name: sshd
|
|
state: restarted
|
|
listen: "restart sshd"
|
|
|
|
- name: Restart fail2ban service
|
|
ansible.builtin.service:
|
|
name: fail2ban
|
|
state: restarted
|
|
listen: "restart fail2ban"
|