chore(ansible/examples): add the proper ternary operator

This commit is contained in:
Michele Cereda
2024-04-28 21:07:30 +02:00
parent 0576d5926e
commit 3bc2588dc2
9 changed files with 77 additions and 28 deletions

View File

@@ -26,8 +26,9 @@ lint:
parallel: true
commands:
ansible: &ansible-lint
glob: '*ansible*'
run: .venv/bin/ansible-lint
files: find . -type f -path "*ansible*" -not -path "*venv*"
glob: '*.{yaml,yml}'
run: .venv/bin/ansible-lint {files}
docker: &hadolint
# The official docker image is based on scratch and only takes only one
# input file at a time. I have no clue how to fix that for now so let's