mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
pep8 fixes for vmware modules (#31537)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
René Moser
parent
e7145e249f
commit
9d811a34c4
@@ -73,6 +73,7 @@ from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.vmware import (connect_to_api, find_hostsystem_by_name, find_vm_by_name,
|
||||
vmware_argument_spec, wait_for_task)
|
||||
|
||||
|
||||
def migrate_vm(vm_object, host_object):
|
||||
"""
|
||||
Migrate virtual machine and return the task.
|
||||
@@ -81,6 +82,7 @@ def migrate_vm(vm_object, host_object):
|
||||
task_object = vm_object.Relocate(relocate_spec)
|
||||
return task_object
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
argument_spec = vmware_argument_spec()
|
||||
|
||||
Reference in New Issue
Block a user