mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 19:50:25 -07:00
VMware: Gather facts when powerstate is specified (#37908)
This fix adds additional facts after VM powerstate management. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
6e737c8cb6
commit
4edcbeb62d
3 changed files with 8 additions and 2 deletions
|
@ -2134,6 +2134,7 @@ def main():
|
|||
result["changed"] = True
|
||||
if not tmp_result["failed"]:
|
||||
result["failed"] = False
|
||||
result['instance'] = tmp_result['instance']
|
||||
else:
|
||||
# This should not happen
|
||||
raise AssertionError()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue