22 lines
534 B
YAML
22 lines
534 B
YAML
name: ansible-lint
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ansible-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: write vault-pass
|
|
run: echo ${VAULTPASS} > ./vault-pass
|
|
|
|
- name: Debug
|
|
run: cat ./vault-pass
|
|
|
|
- name: run ansible-lint
|
|
uses: docker://registry.mgrote.net/ansible-devspace:latest
|
|
with:
|
|
args: ansible-lint --force-color --format pep8 --show-relpath
|
|
|
|
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt
|