Merge "emit-job-header: Print username in node information"

This commit is contained in:
Zuul 2020-11-02 20:04:29 +00:00 committed by Gerrit Code Review
commit c6e3be065e

View File

@ -29,6 +29,7 @@
# Node Information
Inventory Hostname: {{ zj_item }}
Hostname: {{ hostvars[zj_item]['ansible_hostname']|default('unknown') }}
Username: {{ hostvars[zj_item]['ansible_user']|default('unknown') }}
Distro: {{ hostvars[zj_item]['ansible_distribution'] | default('unknown') }} {{ hostvars[zj_item]['ansible_distribution_version'] | default('unknown') }}
Provider: {{ hostvars[zj_item]['nodepool']['provider'] }}
Label: {{ hostvars[zj_item]['nodepool']['label'] }}