mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
track azure vm by unique identifier
This commit is contained in:
@@ -242,7 +242,8 @@ class AzureInventory(object):
|
||||
|
||||
self.host_metadata[hostname] = dict(ansible_ssh_host=dest,
|
||||
ansible_ssh_port=int(ssh_port),
|
||||
instance_status=status)
|
||||
instance_status=status,
|
||||
private_id=deployment.private_id)
|
||||
|
||||
# List of all azure deployments
|
||||
self.push(self.inventory, "azure", hostname)
|
||||
|
||||
Reference in New Issue
Block a user