Merge branch 'master' of git.ducamps.win:ansible-roles/php
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2021-08-19 13:47:12 +02:00
commit 8a96c174fa
4 changed files with 40 additions and 1 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
---
kind: pipeline
type: docker
name: lint
steps:
- name: ansible linting
image: cytopia/ansible-lint
commands:
- ansible-lint tasks/main.yml
- name: markdown linting
image: 06kellyjac/markdownlint-cli
commands:
- markdownlint .
when:
status:
- success
- failure

9
.markdownlint.yaml Normal file
View File

@ -0,0 +1,9 @@
---
# Default state for all rules
default: true
MD009:
strict: false
MD013: false
MD033: false
MD024: false

11
.yamllint Normal file
View File

@ -0,0 +1,11 @@
---
extends: default
rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 80
level: warning
allow-non-breakable-words: true
comments:
min-spaces-from-content: 1

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensure php is installed. - name: Ensure php is installed.
pacman: package:
name: name:
- php - php
- php-fpm - php-fpm