Merge "emit-job-header: add inventory hostname"
This commit is contained in:
commit
a0c29f2843
@ -27,6 +27,7 @@
|
|||||||
debug:
|
debug:
|
||||||
msg: |
|
msg: |
|
||||||
# Node Information
|
# Node Information
|
||||||
|
Inventory Hostname: {{ zj_item }}
|
||||||
Hostname: {{ hostvars[zj_item]['ansible_hostname']|default('unknown') }}
|
Hostname: {{ hostvars[zj_item]['ansible_hostname']|default('unknown') }}
|
||||||
Distro: {{ hostvars[zj_item]['ansible_distribution'] | default('unknown') }} {{ hostvars[zj_item]['ansible_distribution_version'] | default('unknown') }}
|
Distro: {{ hostvars[zj_item]['ansible_distribution'] | default('unknown') }} {{ hostvars[zj_item]['ansible_distribution_version'] | default('unknown') }}
|
||||||
Provider: {{ hostvars[zj_item]['nodepool']['provider'] }}
|
Provider: {{ hostvars[zj_item]['nodepool']['provider'] }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user