remove mongo password secret
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m50s
Details
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 1m50s
Details
This commit is contained in:
parent
6c9f653d94
commit
5f0acaeadd
|
@ -75,7 +75,6 @@ jobs:
|
||||||
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
|
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
|
||||||
INFISICAL_ENCRYPTION_KEY: ${{ secrets.INFISICAL_ENCRYPTION_KEY }}
|
INFISICAL_ENCRYPTION_KEY: ${{ secrets.INFISICAL_ENCRYPTION_KEY }}
|
||||||
INFISICAL_AUTH_SECRET: ${{ secrets.INFISICAL_AUTH_SECRET }}
|
INFISICAL_AUTH_SECRET: ${{ secrets.INFISICAL_AUTH_SECRET }}
|
||||||
INFISICAL_MONGO_PASSWORD: ${{ secrets.INFISICAL_MONGO_PASSWORD }}
|
|
||||||
INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }}
|
INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }}
|
||||||
INFISICAL_URL: https://secrets.koval.net
|
INFISICAL_URL: https://secrets.koval.net
|
||||||
run: ansible-playbook --inventory ./inventory ${{ steps.playbooks.outputs.to_run }} -vv
|
run: ansible-playbook --inventory ./inventory ${{ steps.playbooks.outputs.to_run }} -vv
|
||||||
|
|
|
@ -32,11 +32,6 @@
|
||||||
path: "{{ user.home }}/{{ app }}/.env"
|
path: "{{ user.home }}/{{ app }}/.env"
|
||||||
regexp: "AUTH_SECRET_VALUE"
|
regexp: "AUTH_SECRET_VALUE"
|
||||||
replace: "{{ lookup('ansible.builtin.env', 'INFISICAL_AUTH_SECRET') }}"
|
replace: "{{ lookup('ansible.builtin.env', 'INFISICAL_AUTH_SECRET') }}"
|
||||||
- name: Replace Mongo Password secret
|
|
||||||
ansible.builtin.replace:
|
|
||||||
path: "{{ user.home }}/{{ app }}/.env"
|
|
||||||
regexp: "MONGO_PASSWORD_VALUE"
|
|
||||||
replace: "{{ lookup('ansible.builtin.env', 'INFISICAL_MONGO_PASSWORD') }}"
|
|
||||||
- name: Replace SMTP Password secret
|
- name: Replace SMTP Password secret
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: "{{ user.home }}/{{ app }}/.env"
|
path: "{{ user.home }}/{{ app }}/.env"
|
||||||
|
|
Loading…
Reference in New Issue