Added NET to base
parent
3a716e1864
commit
133ce68be9
|
@ -25,6 +25,11 @@
|
||||||
- name: Installs fail2ban
|
- name: Installs fail2ban
|
||||||
apt: pkg=fail2ban state=present update_cache=true
|
apt: pkg=fail2ban state=present update_cache=true
|
||||||
|
|
||||||
|
- name: Ensure NTP is installed
|
||||||
|
apt: name=ntp state=present
|
||||||
|
- name: Ensure is running
|
||||||
|
systemd: name=ntp state=started enabled=yes
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: start fail2ban
|
- name: start fail2ban
|
||||||
service: name=fail2ban state=started
|
service: name=fail2ban state=started
|
||||||
|
|
Loading…
Reference in New Issue