From 5f0acaeadd05d04a62cb859b51f04de5a68b689f Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Fri, 29 Mar 2024 15:19:48 +0000 Subject: [PATCH] remove mongo password secret --- .github/workflows/infra.yaml | 1 - infra/secrets/0003_infiscal_playbook.yaml | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index 149494b..851b20d 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -75,7 +75,6 @@ jobs: SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }} INFISICAL_ENCRYPTION_KEY: ${{ secrets.INFISICAL_ENCRYPTION_KEY }} INFISICAL_AUTH_SECRET: ${{ secrets.INFISICAL_AUTH_SECRET }} - INFISICAL_MONGO_PASSWORD: ${{ secrets.INFISICAL_MONGO_PASSWORD }} INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }} INFISICAL_URL: https://secrets.koval.net run: ansible-playbook --inventory ./inventory ${{ steps.playbooks.outputs.to_run }} -vv diff --git a/infra/secrets/0003_infiscal_playbook.yaml b/infra/secrets/0003_infiscal_playbook.yaml index 20b4e18..70f2920 100644 --- a/infra/secrets/0003_infiscal_playbook.yaml +++ b/infra/secrets/0003_infiscal_playbook.yaml @@ -32,11 +32,6 @@ path: "{{ user.home }}/{{ app }}/.env" regexp: "AUTH_SECRET_VALUE" 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 ansible.builtin.replace: path: "{{ user.home }}/{{ app }}/.env"