20 lines
479 B
YAML
20 lines
479 B
YAML
name: ansible-lint
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
ansible-lint:
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: write vault-pass
|
|
run: echo ${{ secrets.VAULTPASS }} > ./vault-pass
|
|
|
|
- name: run ansible-lint
|
|
uses: docker://registry.mgrote.net/ansible-devspace:latest
|
|
run: ansible-lint --force-color --format pep8 --show-relpath
|
|
|
|
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt
|