23 lines
536 B
YAML
23 lines
536 B
YAML
|
name: ansible-lint
|
||
|
run-name: ansible-lint
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
ansible-lint:
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Run ansible-lint
|
||
|
uses: docker://registry.mgrote.net/ansible-devspace:latest
|
||
|
run: |
|
||
|
# Secrets
|
||
|
echo $${SSHKEY} # debug
|
||
|
echo $${SSHKEY} > ./id_ed25519
|
||
|
chmod 0400 ./id_ed25519
|
||
|
|
||
|
echo $${VAULTPASS} > ./vault-pass
|
||
|
|
||
|
# Doing
|
||
|
ansible-lint --force-color --format pep8 --show-relpath
|