From 2200dba8a57283f47a23d08f0a63b8716472797e Mon Sep 17 00:00:00 2001 From: bronsen <kontakt+gitcommit@nrrd.de> Date: Tue, 11 Mar 2025 22:05:17 +0100 Subject: [PATCH] [just] lint targets --- justfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 46df442..9a6c216 100644 --- a/justfile +++ b/justfile @@ -1,3 +1,6 @@ +# use with https://github.com/casey/just + + default: check default_playbook := "playbooks/default.yaml" default_inventory := "./hosts.yaml" @@ -9,5 +12,13 @@ deps: check playbook=default_playbook inventory=default_inventory: ansible-playbook {{playbook}} --inventory={{inventory}} --check -lint: +deploy: + # call ansible-playbook WITHOUT "--check" + +lint: lint_vagrant lint_ansible + +lint_vagrant: vagrant validate + +lint_ansible: + ansible-lint --profile=production