fix: remove references to user from 0003_immich
Infrastructure / Check and run Ansbile playbooks (push) Successful in 4m31s Details

This commit is contained in:
Gleb Koval 2024-12-14 01:38:03 +00:00
parent 3494ffcb69
commit b282b35a5b
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 2 additions and 2 deletions

View File

@ -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',