add enable fail2ban service
This commit is contained in:
parent
b2cf6ba543
commit
f17654a77e
|
@ -31,6 +31,11 @@
|
|||
backup: true
|
||||
notify: restart fail2ban
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# service fail2ban should start on boot.
|
||||
- name: service should start on boot
|
||||
service:
|
||||
name: "{{ fail2ban_daemon }}"
|
||||
enabled: yes
|
||||
# service nftables should start on boot.
|
||||
- name: service nftables should start on boot
|
||||
service:
|
||||
|
|
Loading…
Reference in New Issue