ansible.posix/.azure-pipelines/commands/lint.sh
jillr d18699d88f Update tests
Remove legacy shippable files and shippable references from ignore files.
Move CI utility scripts to AZP config.
2024-05-09 18:12:22 +00:00

14 lines
338 B
Bash
Executable file

#!/usr/bin/env bash
set -o pipefail -eux
echo "${PATH/\~/${HOME}}"
echo "${HOME}"
command -v ansible
pip install --upgrade --user pip
pip install --upgrade --user ansible-lint
PATH="${PATH/\~/${HOME}}" ansible-lint \
--exclude changelogs/ \
--profile=production