diff --git a/.gitignore b/.gitignore index de1b5e4..08ec57d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .* terraform.tfstate terraform.tfstate.backup +ansible/lookup_plugins !.gitignore !.editorconfig diff --git a/Justfile b/Justfile index 77a5bd3..dbe872c 100644 --- a/Justfile +++ b/Justfile @@ -1,6 +1,8 @@ #!/usr/bin/env just 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" up: tofu-apply ansible-run-playbook down: tofu-destroy @@ -22,3 +24,7 @@ get-admin-conf: clean: tofu-destroy git clean -fdx + +fetch-plugins: + mkdir -p ansible/lookup_plugins + curl -fsSL -o ansible/lookup_plugins/proton_pass.py {{ ansible_proton_pass_plugin_url }}