friendly message when requirement is not installed (#42321)
* friendly message when requirement is not installed
This commit is contained in:
parent
86147d598f
commit
53405f673c
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue