mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
friendly message when requirement is not installed (#42321)
* friendly message when requirement is not installed
This commit is contained in:
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')
|
||||
|
||||
Reference in New Issue
Block a user