mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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:
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue