From c2694cd0e14507f713973ff0c998042bcb5d432a Mon Sep 17 00:00:00 2001 From: deltron-fr Date: Tue, 1 Jul 2025 19:20:27 +0100 Subject: [PATCH] testing merge --- .github/workflows/terraform_apply.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/terraform_apply.yaml b/.github/workflows/terraform_apply.yaml index 068a836..498d57d 100644 --- a/.github/workflows/terraform_apply.yaml +++ b/.github/workflows/terraform_apply.yaml @@ -20,7 +20,6 @@ jobs: TF_VAR_dns_password: ${{ secrets.TF_VARS_DNS_PASSWORD }} name: deploy terraform and configure monitoring stack - if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: @@ -40,7 +39,7 @@ jobs: touch infrastructure/ansible/ansible.cfg echo "[defaults]" > infrastructure/ansible/ansible.cfg echo "inventory = inventory.ini" >> infrastructure/ansible/ansible.cfg - echo "private_key_file = ${{ secrets.TF_VARS_SSH_PRI_KEY_PATH }}" >> infrastructure/ansible/ansible.cfg + echo "private_key_file = /home/runner/.ssh/id_rsa" >> infrastructure/ansible/ansible.cfg echo "remote_user = ${{ secrets.REMOTE_USER }}" >> infrastructure/ansible/ansible.cfg @@ -63,6 +62,6 @@ jobs: - name: Terraform apply run: | cd infrastructure/terraform - terraform -auto-approve + terraform apply -auto-approve \ No newline at end of file