.PHONY: syntax yaml all: syntax yaml syntax: ansible-playbook site.yml --syntax-check -vv yaml: find . -name \*.yml -exec yamllint {} \;