test: add ansible-lint

This commit is contained in:
Adrien Waksberg 2018-11-30 18:53:08 +01:00
parent a51e3ece2d
commit 1f272190fb
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 phpfpm-debian-9
- kitchen conv phpfpm-debian-9 | grep changed=0
- kitchen verify phpfpm-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.1.0 (2018-09-30)
- feat: set attributes on homes directories

View file

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