From b282b35a5b3dca59acd2277e0ffeae1973fdce5c Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 14 Dec 2024 01:38:03 +0000 Subject: [PATCH] fix: remove references to user from 0003_immich --- 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 2d15877..49e911c 100644 --- a/infra/photos/0003_immich_playbook.yaml +++ b/infra/photos/0003_immich_playbook.yaml @@ -25,14 +25,14 @@ - name: Replace Typesense secret ansible.builtin.replace: - path: "{{ user.home }}/{{ app }}/.env" + path: "$HOME/{{ app }}/.env" regexp: "TYPESENSE_API_KEY_VALUE" replace: "{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod', path='/photos', secret_name='TYPESENSE_API_KEY')['value'] }}" - name: Replace DB secret ansible.builtin.replace: - path: "{{ user.home }}/{{ app }}/.env" + path: "$HOME/{{ app }}/.env" regexp: "DB_PASSWORD_VALUE" replace: "{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod',