Update 'local.yaml'
parent
775314904c
commit
6c5e0670dd
17
local.yaml
17
local.yaml
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
become: true
|
- hosts: servers
|
||||||
|
- became: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install packages
|
- name: Installs fail2ban
|
||||||
apt: name={{item}}
|
apt: pkg=fail2ban state=installed update_cache=true
|
||||||
with_items:
|
|
||||||
- htop
|
handlers:
|
||||||
- mc
|
- name: start fail2ban
|
||||||
- vim
|
service: name=fail2ban state=started
|
||||||
|
|
Loading…
Reference in New Issue