Skip to content

Commit

Permalink
Include computer_name in VM instance facts (ansible#62566)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindshmicrosoft authored and yungezz committed Sep 20, 2019
1 parent 153a322 commit 41bfd2b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -221,7 +221,8 @@ def format_response(self, item):
'name': d.get('name', None),
'provisioning_state': d.get('provisioning_state', None),
'power_state': power_state,
'vm_id': d.get('vm_id', None)
'vm_id': d.get('vm_id', None),
'computer_name': d.get('os_profile').get('computer_name', None)
}
return d

Expand Down

0 comments on commit 41bfd2b

Please sign in to comment.