add makefile with support for syntax checking and running lint for yaml files
This commit is contained in:
parent
0bb81e37f6
commit
713d2d1c89
1 changed files with 10 additions and 0 deletions
10
Makefile
Normal file
10
Makefile
Normal 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 {} \;
|
Loading…
Add table
Reference in a new issue