Fix Infisical SMTP settings (#24)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m4s Details

Add SMTP_FROM_ADDRESS to infisical

Reviewed-on: #24
This commit is contained in:
Gleb Koval 2024-01-04 12:50:41 +00:00
parent ed07a8ef71
commit a8b7b1df4a
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@
src: "./{{ app }}" src: "./{{ app }}"
dest: "{{ user.home }}" dest: "{{ user.home }}"
mode: "0744" mode: "0744"
- name: Replace Encryption Key secret - name: Replace Encryption Key secret
ansible.builtin.replace: ansible.builtin.replace:
path: "{{ user.home }}/{{ app }}/.env" path: "{{ user.home }}/{{ app }}/.env"
@ -41,6 +42,7 @@
path: "{{ user.home }}/{{ app }}/.env" path: "{{ user.home }}/{{ app }}/.env"
regexp: "SMTP_PASSWORD_VALUE" regexp: "SMTP_PASSWORD_VALUE"
replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}" replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}"
- name: Docker compose up -d - name: Docker compose up -d
ansible.builtin.command: docker compose up -d ansible.builtin.command: docker compose up -d
args: args:

View File

@ -32,6 +32,7 @@ SMTP_SECURE=true
SMTP_USERNAME=no-reply@koval.net SMTP_USERNAME=no-reply@koval.net
SMTP_PASSWORD=SMTP_PASSWORD_VALUE SMTP_PASSWORD=SMTP_PASSWORD_VALUE
SMTP_FROM_NAME=KovalHome Infisical SMTP_FROM_NAME=KovalHome Infisical
SMTP_FROM_ADDRESS=no-reply@koval.net
# Integration # Integration
# Optional only if integration is used # Optional only if integration is used