test: add ansible-lint

This commit is contained in:
Adrien Waksberg 2018-12-05 10:20:37 +01:00
parent 769433d20a
commit a396e6714e
2 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,9 @@ 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 bind-debian-9
@ -18,6 +21,7 @@ script:
- kitchen conv bind-zones-subset-debian-9
- kitchen conv bind-zones-subset-debian-9 | grep changed=0
- kitchen verify bind-zones-subset-debian-9
- ansible-lint -r galaxy-lint-rules/rules .
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

View file

@ -5,6 +5,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased]
- break: change with_items to loop
- test: add ansible-lint
## v1.2.2 (2018-09-07)
- fix: remove a bug in dnssec cron