test: add ansible-lint

This commit is contained in:
Adrien Waksberg 2018-11-29 19:24:50 +01:00
parent 13f0f48b45
commit d9ac33acc9
3 changed files with 6 additions and 0 deletions

View file

@ -11,11 +11,15 @@ services:
before_install:
- bundle install
- sudo pip install --upgrade pip
- sudo pip install ansible-lint
- git clone https://github.com/ansible/galaxy-lint-rules.git
script:
- kitchen conv fail2ban-debian-9
- kitchen conv fail2ban-debian-9 | grep changed=0
- kitchen verify fail2ban-debian-9
- ansible-lint -r galaxy-lint-rules/rules .
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

View file

@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased]
* test: add ansible-lint
## v1.0.1 (2018-08-28)

View file

@ -1,6 +1,7 @@
galaxy_info:
role_name: fail2ban
author: Adrien Waksberg
company: Adrien Waksberg
description: Install and configure fail2ban
license: Apache2
min_ansible_version: 2.4