2023-11-07 16:35:27 +01:00
|
|
|
---
|
|
|
|
depends_on:
|
|
|
|
- gitleaks
|
2024-01-29 12:13:07 +01:00
|
|
|
|
2023-11-07 16:35:27 +01:00
|
|
|
steps:
|
|
|
|
ansible-lint:
|
2024-02-07 15:17:02 +01:00
|
|
|
image: quay.io/ansible/creator-ee:v0.22.0
|
2023-11-07 16:35:27 +01:00
|
|
|
commands:
|
|
|
|
- ansible-lint --version
|
2024-01-26 15:01:00 +01:00
|
|
|
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
|
2023-11-07 16:35:27 +01:00
|
|
|
- ansible-galaxy install -r requirements.yml
|
|
|
|
- ansible-lint --force-color --format pep8
|
2024-01-26 15:01:00 +01:00
|
|
|
secrets:
|
|
|
|
- source: vault-pass # name des Secrets in Woodpecker/GUI
|
2024-01-26 16:46:50 +01:00
|
|
|
target: vaultpass # lower-case Name der Variable zur Verwendung in dem CI-File, wird dann so genutzt $${VAULTPASS}
|
2024-02-06 21:03:15 +01:00
|
|
|
when:
|
|
|
|
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
|
|
|
...
|