2023-11-07 16:35:27 +01:00
|
|
|
---
|
|
|
|
depends_on:
|
|
|
|
- gitleaks
|
|
|
|
steps:
|
|
|
|
ansible-lint:
|
|
|
|
image: quay.io/ansible/creator-ee
|
|
|
|
commands:
|
|
|
|
- ansible-lint --version
|
2024-01-26 15:01:00 +01:00
|
|
|
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
|
|
|
|
- cat ./vault-pass.yml #debug
|
2023-11-07 16:35:27 +01:00
|
|
|
- ansible-galaxy install -r requirements.yml
|
|
|
|
- ansible-lint --force-color --format pep8
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- tag
|
2024-01-26 15:01:00 +01:00
|
|
|
secrets:
|
|
|
|
- source: vault-pass # name des Secrets in Woodpecker/GUI
|
|
|
|
target: vaultpass # lower-case Name der variable zur Verwendung in dem CI-File, wird dann so genutzt $${VAULTPASS}
|