style: fix to conform yamllint test

This commit is contained in:
Adrien Waksberg 2018-11-29 19:34:40 +01:00
parent 6a0d4736ca
commit c9711fa91b
7 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,4 @@
---
driver:
name: docker_cli
@ -16,7 +17,7 @@ provisioner:
platforms:
- name: debian-9
driver_config:
image: nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %>
image: "nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %>"
command: /bin/systemd
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro

View file

@ -1,4 +1,4 @@
---
AllCops:
Exclude:
- db/**/*

View file

@ -1,3 +1,4 @@
---
fail2ban_blocktype: DROP
fail2ban_bantime: 600
fail2ban_findtime: 600

View file

@ -1,2 +1,3 @@
---
- name: restart fail2ban
service: name=fail2ban state=restarted

View file

@ -1,3 +1,4 @@
---
galaxy_info:
role_name: fail2ban
author: Adrien Waksberg

View file

@ -1,3 +1,4 @@
---
- name: install fail2ban packages
apt:
name: '{{ item }}'

View file

@ -1,3 +1,4 @@
---
- hosts: fail2ban
connection: local
vars:
@ -14,6 +15,6 @@
maxretry: 2
fail2ban_filters:
- name: nextcloud
failregex: Login failed.*Remote IP.*'<HOST>'
failregex: Login failed.*Remote IP.*'<HOST>'
roles:
- ansible-role-fail2ban
- ansible-role-fail2ban