From 713d2d1c892d470b6ff1e7ccb430b5dc64eedb02 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Fri, 10 May 2019 15:48:17 +0300 Subject: [PATCH] add makefile with support for syntax checking and running lint for yaml files --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..235c2fa --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ + +.PHONY: syntax yaml + +all: syntax yaml + +syntax: + ansible-playbook site.yml --syntax-check -vv + +yaml: + find . -name \*.yml -exec yamllint {} \;