test: add ansible-lint
This commit is contained in:
parent
769433d20a
commit
a396e6714e
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,9 @@ services:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- bundle install
|
- bundle install
|
||||||
|
- sudo pip install --upgrade pip
|
||||||
|
- sudo pip install ansible-lint
|
||||||
|
- git clone https://github.com/ansible/galaxy-lint-rules.git
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- kitchen conv bind-debian-9
|
- kitchen conv bind-debian-9
|
||||||
|
@ -18,6 +21,7 @@ script:
|
||||||
- kitchen conv bind-zones-subset-debian-9
|
- kitchen conv bind-zones-subset-debian-9
|
||||||
- kitchen conv bind-zones-subset-debian-9 | grep changed=0
|
- kitchen conv bind-zones-subset-debian-9 | grep changed=0
|
||||||
- kitchen verify bind-zones-subset-debian-9
|
- kitchen verify bind-zones-subset-debian-9
|
||||||
|
- ansible-lint -r galaxy-lint-rules/rules .
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
|
|
|
@ -5,6 +5,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
- break: change with_items to loop
|
- break: change with_items to loop
|
||||||
|
- test: add ansible-lint
|
||||||
|
|
||||||
## v1.2.2 (2018-09-07)
|
## v1.2.2 (2018-09-07)
|
||||||
- fix: remove a bug in dnssec cron
|
- fix: remove a bug in dnssec cron
|
||||||
|
|
Loading…
Reference in a new issue