mirror of
https://github.com/ansible/awx.git
synced 2026-04-04 17:55:06 -02:30
Merge pull request #7124 from Akasurde/awx_7052
vmware_vm_inventory: Replace guest.guestId with config.guestId Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -2275,7 +2275,7 @@ class vmware(PluginFileInjector):
|
|||||||
"customValue", # optional
|
"customValue", # optional
|
||||||
"datastore",
|
"datastore",
|
||||||
"effectiveRole",
|
"effectiveRole",
|
||||||
"guestHeartbeatStatus", # optonal
|
"guestHeartbeatStatus", # optional
|
||||||
"layout", # optional
|
"layout", # optional
|
||||||
"layoutEx", # optional
|
"layoutEx", # optional
|
||||||
"name",
|
"name",
|
||||||
@@ -2287,7 +2287,6 @@ class vmware(PluginFileInjector):
|
|||||||
"resourcePool",
|
"resourcePool",
|
||||||
"rootSnapshot",
|
"rootSnapshot",
|
||||||
"snapshot", # optional
|
"snapshot", # optional
|
||||||
"tag",
|
|
||||||
"triggeredAlarmState",
|
"triggeredAlarmState",
|
||||||
"value"
|
"value"
|
||||||
]
|
]
|
||||||
@@ -2356,7 +2355,7 @@ class vmware(PluginFileInjector):
|
|||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
# default groups from script
|
# default groups from script
|
||||||
for entry in ('guest.guestId', '"templates" if config.template else "guests"'):
|
for entry in ('config.guestId', '"templates" if config.template else "guests"'):
|
||||||
ret['keyed_groups'].append({
|
ret['keyed_groups'].append({
|
||||||
'prefix': '', 'separator': '',
|
'prefix': '', 'separator': '',
|
||||||
'key': entry
|
'key': entry
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ properties:
|
|||||||
- resourcePool
|
- resourcePool
|
||||||
- rootSnapshot
|
- rootSnapshot
|
||||||
- snapshot
|
- snapshot
|
||||||
- tag
|
|
||||||
- triggeredAlarmState
|
- triggeredAlarmState
|
||||||
- value
|
- value
|
||||||
- capability
|
- capability
|
||||||
|
|||||||
Reference in New Issue
Block a user