test: add check ansible-lint with galaxy rules
This commit is contained in:
parent
88e1c84bbe
commit
7bd85cfd4d
2 changed files with 6 additions and 0 deletions
|
@ -5,16 +5,21 @@ env:
|
|||
- ANSIBLE_VERSION=2.5
|
||||
- ANSIBLE_VERSION=2.6
|
||||
- ANSIBLE_VERSION=2.7
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
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 certbot-debian-9
|
||||
- kitchen conv certbot-debian-9 | grep changed=0
|
||||
- kitchen verify certbot-debian-9
|
||||
- ansible-lint -r galaxy-lint-rules/rules .
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
|
|
|
@ -5,6 +5,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
|
||||
## [Unreleased]
|
||||
- fix: replace shell module to command
|
||||
- test: add check ansible-lint with galaxy rules
|
||||
|
||||
## [2.1.0]
|
||||
- BREAKING CHANGE: minimal ansible version is 2.5 now
|
||||
|
|
Loading…
Reference in a new issue