fix: remove references to user from 0003_immich
Infrastructure / Check and run Ansbile playbooks (push) Successful in 4m31s
Details
Infrastructure / Check and run Ansbile playbooks (push) Successful in 4m31s
Details
This commit is contained in:
parent
3494ffcb69
commit
b282b35a5b
|
@ -25,14 +25,14 @@
|
||||||
|
|
||||||
- name: Replace Typesense secret
|
- name: Replace Typesense secret
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: "{{ user.home }}/{{ app }}/.env"
|
path: "$HOME/{{ app }}/.env"
|
||||||
regexp: "TYPESENSE_API_KEY_VALUE"
|
regexp: "TYPESENSE_API_KEY_VALUE"
|
||||||
replace:
|
replace:
|
||||||
"{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod',
|
"{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod',
|
||||||
path='/photos', secret_name='TYPESENSE_API_KEY')['value'] }}"
|
path='/photos', secret_name='TYPESENSE_API_KEY')['value'] }}"
|
||||||
- name: Replace DB secret
|
- name: Replace DB secret
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: "{{ user.home }}/{{ app }}/.env"
|
path: "$HOME/{{ app }}/.env"
|
||||||
regexp: "DB_PASSWORD_VALUE"
|
regexp: "DB_PASSWORD_VALUE"
|
||||||
replace:
|
replace:
|
||||||
"{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod',
|
"{{ lookup('infisical.vault.read_secrets', project_id=infisical_project, env_slug='prod',
|
||||||
|
|
Loading…
Reference in New Issue