add makefile with support for syntax checking and running lint for yaml files

This commit is contained in:
Timo Makinen 2019-05-10 15:48:17 +03:00
parent 0bb81e37f6
commit 713d2d1c89

10
Makefile Normal file
View file

@ -0,0 +1,10 @@
.PHONY: syntax yaml
all: syntax yaml
syntax:
ansible-playbook site.yml --syntax-check -vv
yaml:
find . -name \*.yml -exec yamllint {} \;