gce_net module: fail when no libcloud is found
This commit is contained in:
parent
00031e454e
commit
7a074b69a0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue