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
This commit is contained in:
Ian Howell 2021-05-24 12:42:35 -05:00
parent 89e81b54a7
commit e2213885cf

View File

@ -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 }}"