Update to more recent Ansible roles
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Copy fail2ban jail.local configuration
|
||||
- name: Copy jail.local configuration
|
||||
template: src=files/fail2ban/jail.local dest=/etc/fail2ban/jail.local
|
||||
|
||||
- name: Copy fail2ban jail filters
|
||||
- name: Copy jail filters
|
||||
copy: src=files/fail2ban/filter.d/ dest=/etc/fail2ban/filter.d/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
- name: Install packages
|
||||
apt: name="{{ item }}" state=latest
|
||||
package: name="{{ item }}" state=present
|
||||
with_items: "{{ packages }}"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
---
|
||||
- name: Start and enable fail2ban service
|
||||
- name: Start and enable services
|
||||
service: name=fail2ban state=restarted enabled=yes
|
||||
|
||||
Reference in New Issue
Block a user