Michael Grote
04a75ae752
Reviewed-on: #593 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
19 lines
481 B
YAML
19 lines
481 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: ansible-lint
|
|
depends_on:
|
|
- gitleaks
|
|
steps:
|
|
ansible-lint:
|
|
image: quay.io/ansible/creator-ee
|
|
commands:
|
|
- ansible-lint --version
|
|
- echo $VAULT-PASS > ./vault-pass.yml # nach des Secret in Großschreibung
|
|
- ansible-galaxy install -r requirements.yml
|
|
- ansible-lint --force-color --format pep8
|
|
when:
|
|
event:
|
|
exclude:
|
|
- tag
|
|
secret: [vault-pass] #dieses Secret darf verwendet werden
|