add enable fail2ban service

This commit is contained in:
Ruben Blanco 2024-02-12 17:24:01 +01:00
parent b2cf6ba543
commit f17654a77e
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@
backup: true backup: true
notify: restart fail2ban 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. # service nftables should start on boot.
- name: service nftables should start on boot - name: service nftables should start on boot
service: service: