diff --git a/.travis.yml b/.travis.yml index a138505..1323106 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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/ diff --git a/CHANGELOG.md b/CHANGELOG.md index eada5b5..da94d6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/meta/main.yml b/meta/main.yml index ecb033f..6143a13 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -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