Skip to content
Snippets Groups Projects
Commit 922b8618 authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Merge branch 'fail2ban' into 'master'

Updating the handlers with systemd module & make a copy before deploy

See merge request hpc-team/ansible_cluster_in_a_box!258

Former-commit-id: d1c997f5
parents e20f86cd 9fe18034
No related branches found
No related tags found
No related merge requests found
---
- name: restart fail2ban
service: name=fail2ban state=restarted
systemd:
name: fail2ban
enabled: yes
state: restarted
become: true
become_user: root
......@@ -3,7 +3,6 @@
yum:
name:
- fail2ban-server
- fail2ban-systemd
- fail2ban-sendmail
state: present
become: true
......@@ -14,6 +13,7 @@
template:
src: jail.conf.j2
dest: /etc/fail2ban/jail.conf
backup: yes
mode: 0644
owner: root
group: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment