Fix Infisical SMTP settings #24

Merged
cyclane merged 2 commits from infisical-smtp-fix into main 2024-01-04 12:50:43 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 892baeddc2 - Show all commits

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: