forked from evolix/ansible-roles
fail2ban: install filter before package
This commit is contained in:
parent
f1349816ce
commit
8f7004c977
|
@ -22,14 +22,6 @@
|
||||||
tags:
|
tags:
|
||||||
- fail2ban
|
- fail2ban
|
||||||
|
|
||||||
- name: package is installed
|
|
||||||
apt:
|
|
||||||
name: fail2ban
|
|
||||||
state: present
|
|
||||||
tags:
|
|
||||||
- fail2ban
|
|
||||||
- packages
|
|
||||||
|
|
||||||
- name: custom filters are installed
|
- name: custom filters are installed
|
||||||
copy:
|
copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
|
@ -43,3 +35,12 @@
|
||||||
notify: restart fail2ban
|
notify: restart fail2ban
|
||||||
tags:
|
tags:
|
||||||
- fail2ban
|
- fail2ban
|
||||||
|
|
||||||
|
- name: package is installed
|
||||||
|
apt:
|
||||||
|
name: fail2ban
|
||||||
|
state: present
|
||||||
|
tags:
|
||||||
|
- fail2ban
|
||||||
|
- packages
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue