Merge "Add nodepool info to test-emit-job-header"
This commit is contained in:
commit
4dc0e9d44b
@ -19,3 +19,15 @@
|
|||||||
{% if zuul_log_url is defined and zuul_log_path is defined %}
|
{% if zuul_log_url is defined and zuul_log_path is defined %}
|
||||||
Log URL (when completed): {{ zuul_log_url }}/{{ zuul_log_path }}
|
Log URL (when completed): {{ zuul_log_url }}/{{ zuul_log_path }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
- name: Print node information
|
||||||
|
debug:
|
||||||
|
msg: |
|
||||||
|
# Node Information
|
||||||
|
Hostname: {{ hostvars[item]['ansible_hostname'] }}
|
||||||
|
Provider: {{ hostvars[item]['nodepool']['provider'] }}
|
||||||
|
Label: {{ hostvars[item]['nodepool']['label'] }}
|
||||||
|
{% if hostvars[item]['nodepool']['interface_ip'] is defined %}
|
||||||
|
Interface IP: {{ hostvars[item]['nodepool']['interface_ip'] }}
|
||||||
|
{% endif %}
|
||||||
|
loop: "{{ query('inventory_hostnames', 'all,!localhost') }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user