From 9a5c8288b0b058db06cf9545e904fc70c9f90f1b Mon Sep 17 00:00:00 2001 From: James Allenby Date: Fri, 14 Aug 2026 23:10:25 +0100 Subject: [PATCH] feat: add init target to justfile --- Justfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index e0a81c5..15b2a6c 100644 --- a/Justfile +++ b/Justfile @@ -4,16 +4,17 @@ opentofu_dir := "infra/" 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" +init: tofu-init fetch-ansible-deps fetch-ansible-plugins up: tofu-apply ansible-run-playbook down: tofu-destroy tofu-init: tofu -chdir={{ opentofu_dir }} init -upgrade -tofu-apply: tofu-init +tofu-apply: tofu -chdir={{ opentofu_dir }} apply -auto-approve -tofu-destroy: tofu-init +tofu-destroy: tofu -chdir={{ opentofu_dir }} apply -auto-approve -destroy tofu-destroy-instances: @@ -33,6 +34,6 @@ clean: tofu-destroy fetch-ansible-deps: ansible-galaxy install --role-file ansible/requirements.yml --roles-path ansible/galaxy_roles -fetch-plugins: +fetch-ansible-plugins: mkdir -p ansible/lookup_plugins curl -fsSL -o ansible/lookup_plugins/proton_pass.py {{ ansible_proton_pass_plugin_url }}