first attempt at cloud init cased ansible
This commit is contained in:
parent
8ee6cdb2a8
commit
706b7a3cbf
1 changed files with 18 additions and 0 deletions
18
bootstrap.yml
Normal file
18
bootstrap.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: Setup fail2ban
|
||||||
|
hosts: localhost
|
||||||
|
roles:
|
||||||
|
- nbigot.ansible-fail2ban
|
||||||
|
|
||||||
|
vars:
|
||||||
|
fail2ban_services:
|
||||||
|
- name: sshd
|
||||||
|
port: 22
|
||||||
|
maxretry: 5
|
||||||
|
bantime: -1
|
||||||
|
|
||||||
|
fail2ban_ignoreips:
|
||||||
|
- 127.0.0.1/8
|
||||||
|
- 169.231.0.0/16
|
||||||
|
- 128.111.0.0/16
|
Loading…
Reference in a new issue