Update 'local.yaml'
parent
775314904c
commit
6c5e0670dd
17
local.yaml
17
local.yaml
|
@ -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
|
||||
|
Loading…
Reference in New Issue