mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-19 23:33:03 +00:00
Fixed ansible check
This commit is contained in:
2
Makefile
2
Makefile
@@ -157,7 +157,7 @@ test-integration: build-missing
|
|||||||
@TEST_TYPE="integration" bash scripts/tests/code.sh
|
@TEST_TYPE="integration" bash scripts/tests/code.sh
|
||||||
|
|
||||||
# Backwards compatible target (kept)
|
# Backwards compatible target (kept)
|
||||||
test-ansible:
|
lint-ansible:
|
||||||
@echo "📑 Checking Ansible syntax…"
|
@echo "📑 Checking Ansible syntax…"
|
||||||
ansible-playbook -i localhost, -c local $(foreach f,$(wildcard group_vars/all/*.yml),-e @$(f)) playbook.yml --syntax-check
|
ansible-playbook -i localhost, -c local $(foreach f,$(wildcard group_vars/all/*.yml),-e @$(f)) playbook.yml --syntax-check
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user