dotfiles/scripts/lint.sh

14 lines
251 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
set -x
yamllint -sc yamllint.yml yamllint.yml dotfiles.yml tasks/ vars.yml
2020-11-25 12:10:59 +00:00
ansible-lint dotfiles.yml -p -c .ansible-lint --exclude galaxy_roles/
ansible-playbook dotfiles.yml --syntax-check