From c3e9965cfe183def72f0e685208519dda2ba47b1 Mon Sep 17 00:00:00 2001 From: Jon Calalang Date: Wed, 12 Jun 2024 06:57:51 -0700 Subject: [PATCH] variable fix nested format --- .github/workflows/main.yaml | 2 +- ...olterra.io.api-creds.p12 => f5-sa.api-creds.p12} | Bin .../configuration/roles/nginx/tasks/main.yaml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename certs/{f5-sa.console.ves.volterra.io.api-creds.p12 => f5-sa.api-creds.p12} (100%) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ed61f0b5..8ae475bb 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -285,7 +285,7 @@ jobs: - uses: actions/checkout@v3 - name: cURL F5XC - run: curl --max-time 10 --cert-type P12 --cert certs/${{ secrets.VES_HOSTNAME }}.api-creds.p12:${{ secrets.VES_P12_PASSWORD }} -X GET https://${{ secrets.VES_HOSTNAME }}/api/web/namespaces/j-calalang + run: curl --max-time 10 --cert-type P12 --cert certs/${{ secrets.VES_TENANT }}.api-creds.p12:${{ secrets.VES_P12_PASSWORD }} -X GET https://${{ secrets.VES_TENANT }}.console.ves.volterra.io/api/web/namespaces/j-calalang F5XC-Terraform-Infrastructure: # The type of runner that the job will run on diff --git a/certs/f5-sa.console.ves.volterra.io.api-creds.p12 b/certs/f5-sa.api-creds.p12 similarity index 100% rename from certs/f5-sa.console.ves.volterra.io.api-creds.p12 rename to certs/f5-sa.api-creds.p12 diff --git a/nginx/ansible/configuration/roles/nginx/tasks/main.yaml b/nginx/ansible/configuration/roles/nginx/tasks/main.yaml index fb208cb0..35d4a753 100644 --- a/nginx/ansible/configuration/roles/nginx/tasks/main.yaml +++ b/nginx/ansible/configuration/roles/nginx/tasks/main.yaml @@ -38,7 +38,7 @@ delay: 5 until: "(result.status == 200) or (result.status == 202)" with_nested: - - azure_instances + - "{ azure_instances }" with_fileglob: - "../config/azure-instances/nginx.json" when: state == "present"