2024-12-07 17:40:11 +00:00
|
|
|
# SPDX-FileCopyrightText: 2022 MDAD Team and contributors
|
2024-12-07 09:32:52 +00:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2022-11-03 07:11:29 +00:00
|
|
|
.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
|
|
|
|
2022-11-03 07:11:29 +00:00
|
|
|
roles: ## Pull roles
|
2022-11-04 12:58:28 +00:00
|
|
|
rm -rf roles/galaxy
|
2022-11-03 07:11:29 +00:00
|
|
|
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
|