From 53405f673cb1b0df894970fd7d132e21e3544f0c Mon Sep 17 00:00:00 2001 From: Victor da Costa Date: Fri, 24 Aug 2018 16:08:24 +0200 Subject: [PATCH] friendly message when requirement is not installed (#42321) * friendly message when requirement is not installed --- lib/ansible/modules/cloud/google/gc_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/google/gc_storage.py b/lib/ansible/modules/cloud/google/gc_storage.py index cc04e92b1af..d2ec48fe0be 100644 --- a/lib/ansible/modules/cloud/google/gc_storage.py +++ b/lib/ansible/modules/cloud/google/gc_storage.py @@ -421,7 +421,7 @@ def main(): ) if not HAS_BOTO: - module.fail_json(msg='boto 2.9+ required for this module') + module.fail_json(msg='`boto` 2.9+ is required for this module. Try: pip install `boto` --upgrade') bucket = module.params.get('bucket') obj = module.params.get('object')