From 8d821d643c8f98168a0b0979189e87d7879e123a Mon Sep 17 00:00:00 2001 From: James Allenby Date: Mon, 29 Jun 2026 00:26:44 +0100 Subject: [PATCH] fix: add new recipe for destroying instances only --- Justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 0badf89..b093f75 100644 --- a/Justfile +++ b/Justfile @@ -5,7 +5,7 @@ ansible_proton_pass_plugin_ref := "4bd0741c347646060ec59c73f8adf7ed8e706cf3" ansible_proton_pass_plugin_url := "https://raw.githubusercontent.com/protonpass/proton-pass-ansible-integration/" + ansible_proton_pass_plugin_ref + "/lookup_plugins/proton_pass.py" up: tofu-apply ansible-run-playbook -down: tofu-destroy +down: tofu-destroy-instances tofu-init: tofu -chdir={{ opentofu_dir }} init -upgrade @@ -16,6 +16,9 @@ tofu-apply: tofu-init tofu-destroy: tofu-init tofu -chdir={{ opentofu_dir }} apply -auto-approve -destroy +tofu-destroy-instances: + tofu -chdir={{ opentofu_dir }} apply -auto-approve -destroy -target=module.master -target=module.worker + ansible-run-playbook: ansible-playbook -i ansible/inventories/incus/incus.yaml -c community.general.incus ansible/playbooks/provision.yaml -e ansible_user=root ansible-playbook -i ansible/inventories/incus/incus.yaml -c community.general.incus ansible/site.yaml