Trigger CI
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m44s Details

This commit is contained in:
Gleb Koval 2024-01-04 12:18:06 +00:00
parent 0a927c1a00
commit 892baeddc2
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 2 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: