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: driver:
name: docker_cli name: docker_cli
@ -16,7 +17,7 @@ provisioner:
platforms: platforms:
- name: debian-9 - name: debian-9
driver_config: 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 command: /bin/systemd
volume: volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,3 +1,4 @@
---
- hosts: fail2ban - hosts: fail2ban
connection: local connection: local
vars: vars: