infrastructure/scripts/lint.sh

14 lines
233 B
Bash
Raw Normal View History

2019-12-08 11:58:43 +00:00
#!/usr/bin/env bash
set -e
PATH=env/bin:${PATH}
set -x
yamllint -sc yamllint.yml yamllint.yml ansible/
ansible-lint ansible/main.yml -p -c ansible/.ansible-lint
ansible-playbook -i ansible/hosts ansible/main.yml --syntax-check