friendly message when requirement is not installed (#42321)

* friendly message when requirement is not installed
pull/44642/head
Victor da Costa 6 years ago committed by John R Barker
parent 86147d598f
commit 53405f673c

@ -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…
Cancel
Save