diff --git a/roles/emit-job-header/tasks/main.yaml b/roles/emit-job-header/tasks/main.yaml index f49871bfc..969feed79 100644 --- a/roles/emit-job-header/tasks/main.yaml +++ b/roles/emit-job-header/tasks/main.yaml @@ -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'] }}