Template out zuul mirror info variables for later use by embedded ansible

zuul_site_mirror_info is still work-in-progress and may be undefined.

Change-Id: I1faee76e356a5abf2e7c9fbd85fdbbce49b54650
This commit is contained in:
Jonathan Rosser 2022-05-17 18:14:06 +01:00
parent 30564953a3
commit d901835247
2 changed files with 8 additions and 0 deletions

View File

@ -118,6 +118,8 @@
vars:
zuul_helper_var:
zuul: "{{ zuul }}"
zuul_site_mirror_info_helper_var:
zuul_site_mirror_info: "{{ zuul_site_mirror_info | default({}) }}"
template:
src: osa-job-vars.yml.j2
dest: "{{ zuul_user_vars_file }}"

View File

@ -1,2 +1,8 @@
---
{{ zuul_helper_var | to_nice_yaml(indent=2) }}
zuul_site_mirror_fqdn: {{ zuul_site_mirror_fqdn | default('') }}
zuul_site_local_mirror_host: {{ zuul_site_local_mirror_host | default('') }}
{{ zuul_site_mirror_info_helper_var | to_nice_yaml(indent=2) }}