dotfiles/scripts/lint.sh

14 lines
236 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
ansible-lint dotfiles.yml -p -c .ansible-lint
ansible-playbook -i hosts dotfiles.yml --syntax-check