Restructure helper scripts so they're slightly more useful

This commit is contained in:
Jake Howard
2020-02-22 20:41:04 +00:00
parent ac6210d618
commit 34aa3a52f8
9 changed files with 11 additions and 20 deletions

13
scripts/ansible/lint.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
set -x
yamllint -sc yamllint.yml ansible/
ansible-lint ansible/main.yml -p -c ansible/.ansible-lint
cd ansible/ && ansible-playbook main.yml --syntax-check