diff --git a/.editorconfig b/.editorconfig index aa9c364..ed64548 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,9 @@ indent_style = space indent_size = 4 trim_trailing_whitespace = true +[Makefile] +indent_style = tab + [*.md] insert_final_newline = false trim_trailing_whitespace = false diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5d549f3 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +SHELL := /bin/bash +.POSIX: +.PHONY: help lint install + +help: ## Show this help + @egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' + +lint: ## Lint ansible files with ansible-lint + ansible-lint + +install: ## Install or update requirements + ansible-galaxy install -f -r requirements.yml