matrix-docker-ansible-deploy/Makefile

12 lines
321 B
Makefile
Raw Normal View History

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