learn-ansible/justfile
bronsen 61452e0cb9 [just] add "lint" recipe
currently only lints `Vagrantfile`
2025-03-03 22:55:28 +01:00

14 lines
347 B
Makefile

default: check
default_playbook := "playbooks/default.yaml"
default_inventory := "./hosts.yaml"
deps:
pip-compile-multi \
--generate-hashes base \
--header requirements/_header_text
check playbook=default_playbook inventory=default_inventory:
ansible-playbook {{playbook}} --inventory={{inventory}} --check
lint:
vagrant validate