Update vsphere_copy.py to use new style module_utils import

pull/18777/head
Matt Martz 10 years ago committed by Matt Clay
parent 18878be584
commit bfa9852fc7

@ -149,6 +149,7 @@ def main():
else:
module.fail_json(msg='Failed to upload', status=resp.status, reason=resp.reason, length=resp.length, version=resp.version, headers=resp.getheaders(), chunked=resp.chunked, url=url)
# this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# Import module snippets
from ansible.module_utils.basic import *
main()

Loading…
Cancel
Save