Update 'local.yaml'

master
Ariel Antigua 2018-09-06 10:48:00 -04:00
parent 775314904c
commit 6c5e0670dd
1 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,11 @@
---
become: true
---
- hosts: servers
- became: true
tasks:
- name: Install packages
apt: name={{item}}
with_items:
- htop
- mc
- vim
- name: Installs fail2ban
apt: pkg=fail2ban state=installed update_cache=true
handlers:
- name: start fail2ban
service: name=fail2ban state=started