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

This commit is contained in:
Zuul 2022-05-23 11:09:24 +00:00 committed by Gerrit Code Review
commit e1ae4cc735
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) }}