Merge "emit-job-header: add inventory hostname"

This commit is contained in:
Zuul 2020-07-09 13:02:03 +00:00 committed by Gerrit Code Review
commit a0c29f2843

View File

@ -27,6 +27,7 @@
debug:
msg: |
# Node Information
Inventory Hostname: {{ zj_item }}
Hostname: {{ hostvars[zj_item]['ansible_hostname']|default('unknown') }}
Distro: {{ hostvars[zj_item]['ansible_distribution'] | default('unknown') }} {{ hostvars[zj_item]['ansible_distribution_version'] | default('unknown') }}
Provider: {{ hostvars[zj_item]['nodepool']['provider'] }}