testing if we get the pull
This commit is contained in:
parent
706b7a3cbf
commit
0f5457ad77
1 changed files with 4 additions and 3 deletions
|
@ -4,15 +4,16 @@
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
roles:
|
roles:
|
||||||
- nbigot.ansible-fail2ban
|
- nbigot.ansible-fail2ban
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
fail2ban_services:
|
fail2ban_services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
port: 22
|
port: 22
|
||||||
maxretry: 5
|
maxretry: 5
|
||||||
bantime: -1
|
bantime: -1
|
||||||
|
|
||||||
fail2ban_ignoreips:
|
fail2ban_ignoreips:
|
||||||
- 127.0.0.1/8
|
- 127.0.0.1/8
|
||||||
- 169.231.0.0/16
|
- 169.231.0.0/16
|
||||||
- 128.111.0.0/16
|
- 128.111.0.0/16
|
||||||
|
- name: This command will echo text to a file as a test
|
||||||
|
ansible.builtin.shell:
|
||||||
|
cmd: echo 'hello' > /tmp/hello.txt
|
Loading…
Reference in a new issue