fix ansible-lint
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed

This commit is contained in:
Michael Grote 2024-08-13 00:02:16 +02:00
parent 8669cd1d74
commit bb5eaaf6be
2 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,9 @@ exclude_paths:
- .gitlab-ci.yml - .gitlab-ci.yml
- friedhof/ - friedhof/
- playbooks/on-off - playbooks/on-off
- playbooks/base
- playbooks/3_service
- playbooks/base
- roles/ansible-role-pip - roles/ansible-role-pip
- roles/ansible-role-bootstrap - roles/ansible-role-bootstrap
- roles/ansible_role_ctop - roles/ansible_role_ctop

View file

@ -11,7 +11,7 @@ steps:
- echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung - echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung
- chmod 0400 ./id_ed25519 - chmod 0400 ./id_ed25519
# Doing # Doing
- ansible-lint --force-color --format pep8 - ansible-lint --force-color --format pep8 --show-relpath
# https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands # https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands
secrets: [vaultpass] secrets: [vaultpass]
when: when: