infrastructure/scripts/ansible/lint.sh
Jake Howard c5215e330b
Update yamllint to fix dependency issue
I think this still validates everything we need it to
2022-01-11 20:51:12 +00:00

13 lines
172 B
Bash
Executable file

#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
yamllint -sc ansible/yamllint.yml ansible
cd ansible/
ansible-lint -p
ansible-playbook main.yml --syntax-check