From a8b7b1df4a054169b09a558c33ba62140063fd6c Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Thu, 4 Jan 2024 12:50:41 +0000 Subject: [PATCH] Fix Infisical SMTP settings (#24) Add SMTP_FROM_ADDRESS to infisical Reviewed-on: https://git.koval.net/cyclane/kovalhome/pulls/24 --- infra/secrets/0003_infiscal_playbook.yaml | 2 ++ infra/secrets/infisical/.env | 1 + 2 files changed, 3 insertions(+) diff --git a/infra/secrets/0003_infiscal_playbook.yaml b/infra/secrets/0003_infiscal_playbook.yaml index c1987be..20b4e18 100644 --- a/infra/secrets/0003_infiscal_playbook.yaml +++ b/infra/secrets/0003_infiscal_playbook.yaml @@ -21,6 +21,7 @@ src: "./{{ app }}" dest: "{{ user.home }}" mode: "0744" + - name: Replace Encryption Key secret ansible.builtin.replace: path: "{{ user.home }}/{{ app }}/.env" @@ -41,6 +42,7 @@ path: "{{ user.home }}/{{ app }}/.env" regexp: "SMTP_PASSWORD_VALUE" replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}" + - name: Docker compose up -d ansible.builtin.command: docker compose up -d args: diff --git a/infra/secrets/infisical/.env b/infra/secrets/infisical/.env index cd369a5..f91df1f 100644 --- a/infra/secrets/infisical/.env +++ b/infra/secrets/infisical/.env @@ -32,6 +32,7 @@ SMTP_SECURE=true SMTP_USERNAME=no-reply@koval.net SMTP_PASSWORD=SMTP_PASSWORD_VALUE SMTP_FROM_NAME=KovalHome Infisical +SMTP_FROM_ADDRESS=no-reply@koval.net # Integration # Optional only if integration is used