Fix Infisical SMTP settings #24

Merged
cyclane merged 2 commits from infisical-smtp-fix into main 2024-01-04 12:50:43 +00:00
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