style: fix to conform yamllint test
This commit is contained in:
parent
6a0d4736ca
commit
c9711fa91b
7 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
---
|
||||
AllCops:
|
||||
Exclude:
|
||||
- db/**/*
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
fail2ban_blocktype: DROP
|
||||
fail2ban_bantime: 600
|
||||
fail2ban_findtime: 600
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
- name: restart fail2ban
|
||||
service: name=fail2ban state=restarted
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
galaxy_info:
|
||||
role_name: fail2ban
|
||||
author: Adrien Waksberg
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- name: install fail2ban packages
|
||||
apt:
|
||||
name: '{{ item }}'
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- hosts: fail2ban
|
||||
connection: local
|
||||
vars:
|
||||
|
@ -16,4 +17,4 @@
|
|||
- name: nextcloud
|
||||
failregex: Login failed.*Remote IP.*'<HOST>'
|
||||
roles:
|
||||
- ansible-role-fail2ban
|
||||
- ansible-role-fail2ban
|
||||
|
|
Loading…
Reference in a new issue