2024-12-07 10:32:52 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2022-11-03 08:11:29 +01:00
|
|
|
.PHONY: roles lint
|
2022-07-18 15:51:33 +02:00
|
|
|
|
|
|
|
help: ## Show this help.
|
2022-10-23 17:45:22 +02:00
|
|
|
@grep -F -h "##" $(MAKEFILE_LIST) | grep -v grep | sed -e 's/\\$$//' | sed -e 's/##//'
|
2022-07-18 15:51:33 +02:00
|
|
|
|
2022-11-03 08:11:29 +01:00
|
|
|
roles: ## Pull roles
|
2022-11-04 13:58:28 +01:00
|
|
|
rm -rf roles/galaxy
|
2022-11-03 08:11:29 +01:00
|
|
|
ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force
|
|
|
|
|
2022-07-18 15:51:33 +02:00
|
|
|
lint: ## Runs ansible-lint against all roles in the playbook
|
2022-11-20 18:13:00 +01:00
|
|
|
ansible-lint roles/custom
|