From 773b73f579a1a9af9ae97b8badb566e0ea8b2123 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Thu, 4 Jan 2024 13:13:31 +0000 Subject: [PATCH] Fix #25: Use correct lookup name (#26) Fixes #25 Reviewed-on: https://git.koval.net/cyclane/kovalhome/pulls/26 --- infra/photos/0003_immich_playbook.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/photos/0003_immich_playbook.yaml b/infra/photos/0003_immich_playbook.yaml index 24ac32e..f6465cb 100644 --- a/infra/photos/0003_immich_playbook.yaml +++ b/infra/photos/0003_immich_playbook.yaml @@ -25,12 +25,12 @@ ansible.builtin.replace: path: "{{ user.home }}/{{ app }}/.env" regexp: "TYPESENSE_API_KEY_VALUE" - replace: "{{ lookup('infisical_vault', env_slug='prod', path='/photos', secret_name='TYPESENSE_API_KEY') }}" + replace: "{{ lookup('infisical.vault.read_secrets', env_slug='prod', path='/photos', secret_name='TYPESENSE_API_KEY') }}" - name: Replace DB secret ansible.builtin.replace: path: "{{ user.home }}/{{ app }}/.env" regexp: "DB_PASSWORD_VALUE" - replace: "{{ lookup('infisical_vault', env_slug='prod', path='/photos', secret_name='DB_PASSWORD') }}" + replace: "{{ lookup('infisical.vault.read_secrets', env_slug='prod', path='/photos', secret_name='DB_PASSWORD') }}" - name: Docker compose up -d ansible.builtin.command: docker compose up -d args: