dotfiles/scripts/lint.sh

14 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