From e2213885cf8defc8eb9c492b02c7c76d1a67f50a Mon Sep 17 00:00:00 2001 From: Ian Howell Date: Mon, 24 May 2021 12:42:35 -0500 Subject: [PATCH] Fix an issue with selecting which site to test This fixes the name of the ansible `site` variable to `site_name`, so that we can properly set the value of the SITE environment variable while running gate scripts. Change-Id: I9156fbdda4e52dc2b5310beb4d285736282bc8b6 --- roles/airshipctl-run-script/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/airshipctl-run-script/tasks/main.yaml b/roles/airshipctl-run-script/tasks/main.yaml index d06f8c733..ab9b4e0db 100644 --- a/roles/airshipctl-run-script/tasks/main.yaml +++ b/roles/airshipctl-run-script/tasks/main.yaml @@ -18,7 +18,7 @@ set_fact: local_environment: AIRSHIP_CONFIG_PHASE_REPO_URL: "{{ remote_work_dir | default(local_src_dir) | default(default_zuul_dir) }}" - SITE: "{{ site | default('test-site') }}" + SITE: "{{ site_name | default('test-site') }}" job_environment: "{{ job_environment | default({}) }}" - name: "Run script {{ gate_script_path }}"