matrix-docker-ansible-deploy/Makefile

12 lines
334 B
Makefile
Raw Normal View History

.PHONY: roles lint
2022-07-18 13:51:33 +00:00
help: ## Show this help.
2022-10-23 15:45:22 +00:00
@grep -F -h "##" $(MAKEFILE_LIST) | grep -v grep | sed -e 's/\\$$//' | sed -e 's/##//'
2022-07-18 13:51:33 +00:00
roles: ## Pull roles
rm -rf roles/galaxy
ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force
2022-07-18 13:51:33 +00:00
lint: ## Runs ansible-lint against all roles in the playbook
2022-11-20 17:13:00 +00:00
ansible-lint roles/custom