gce_net module: fail when no libcloud is found

This commit is contained in:
Ryan S. Brown 2017-01-06 09:05:52 -05:00
parent 00031e454e
commit 7a074b69a0

View file

@ -257,7 +257,7 @@ def main():
) )
if not HAS_LIBCLOUD: if not HAS_LIBCLOUD:
module.exit_json(msg='libcloud with GCE support (0.17.0+) required for this module') module.fail_json(msg='libcloud with GCE support (0.17.0+) required for this module')
gce = gce_connect(module) gce = gce_connect(module)