Added NET to base

master
Ariel Antigua 2020-05-16 22:01:59 -04:00
parent 3a716e1864
commit 133ce68be9
1 changed files with 5 additions and 0 deletions

View File

@ -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