dotfiles/scripts/lint.sh
Jake Howard cbf1228ad9
Remove specification of hosts file when running
This is already covered by `ansible.cfg`
2020-06-15 13:03:05 +01:00

13 lines
227 B
Bash
Executable file

#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
set -x
yamllint -sc yamllint.yml yamllint.yml dotfiles.yml tasks/ vars.yml
ansible-lint dotfiles.yml -p -c .ansible-lint
ansible-playbook dotfiles.yml --syntax-check