From 19da74d9d639bf8ebfb55bfc3f3266a0e104c702 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 14 Jun 2023 10:35:36 +0200 Subject: [PATCH] run ansible-lint in offline mode avoids things like https://github.com/ansible/ansible-lint/issues/3560 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c347b092bc..d23670cac2 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ info: lint: $(MANIFEST) $(RUNTIME_YML) | tests/test_playbooks/vars/server.yml yamllint -f parsable tests/test_playbooks roles - ansible-lint -v roles/* + ansible-lint -v --offline roles/* ansible-playbook --syntax-check tests/test_playbooks/*.yml | grep -v '^$$' flake8 --ignore=E402,W503 --max-line-length=160 plugins/ tests/ GALAXY_IMPORTER_CONFIG=tests/galaxy-importer.cfg python -m galaxy_importer.main $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz