Update metadata for Ansible galaxy support
Change-Id: Ia4ca158aacbc731fea3e62385785af12746f59cb
diff --git a/Makefile b/Makefile
index a97cb07..fc25e81 100644
--- a/Makefile
+++ b/Makefile
@@ -26,10 +26,13 @@
-d "{extends: default, rules: {line-length: {max: 99}}}" \
-s $(YAML_FILES)
+# List of molecule files, not including base molecule.yml which isn't ansible format
+MOLECULE_FILES ?= $(shell find molecule -type f -name '*.yml' \! -name 'molecule.yml' -print )
+
ansiblelint: ## lint check with ansible-lint
ansible-lint --version
ansible-lint -v .
- ansible-lint -v molecule/*/*
+ ansible-lint -v $(MOLECULE_FILES)
license: ## Check license with the reuse tool
reuse --version