saibotk
8286c3afd3
This patch will allow ansible-lint to search for files on its own instead of *.yml files in the root directory. Since playbooks now reside in their own folder, ansible-lint would not lint any roles anymore. Also this introduces another small stub ansible-lint related ansible config file, so it does not always try to use the vault password / decrypt files.
12 lines
385 B
Makefile
12 lines
385 B
Makefile
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_CONFIG=ansible.lint.cfg ansible-lint
|
|
|
|
install: ## Install or update requirements
|
|
ansible-galaxy install -f -r requirements.yml
|