Improve job and node information banner

Adds information that is can be key regarding the outcome of the job:
* distribution name
* distribution version

Change-Id: I8362ef2f0a89de4c318f13c874b6f083a4f1699f
This commit is contained in:
Sorin Sbarnea 2019-08-22 12:34:58 +01:00
parent 4b23fe8b64
commit 8a5bc42bb9

View File

@ -28,6 +28,7 @@
msg: | msg: |
# Node Information # Node Information
Hostname: {{ hostvars[item]['ansible_hostname']|default('unknown') }} Hostname: {{ hostvars[item]['ansible_hostname']|default('unknown') }}
Distro: {{ hostvars[item]['ansible_distribution'] | default('unknown') }} {{ hostvars[item]['ansible_distribution_version'] | default('unknown') }}
Provider: {{ hostvars[item]['nodepool']['provider'] }} Provider: {{ hostvars[item]['nodepool']['provider'] }}
Label: {{ hostvars[item]['nodepool']['label'] }} Label: {{ hostvars[item]['nodepool']['label'] }}
{% if hostvars[item]['nodepool']['interface_ip'] is defined %} {% if hostvars[item]['nodepool']['interface_ip'] is defined %}