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