mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add missing msg in fail_json (#33543)
This fix adds msg keyword in fail_json in aws_acm_facts, cs_host, junos_package module. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -136,7 +136,7 @@ def connect(module):
|
||||
device.timeout = get_param(module, 'timeout') or 10
|
||||
except ConnectError:
|
||||
exc = get_exception()
|
||||
module.fail_json('unable to connect to %s: %s' % (host, str(exc)))
|
||||
module.fail_json(msg='unable to connect to %s: %s' % (host, str(exc)))
|
||||
|
||||
return device
|
||||
|
||||
|
||||
Reference in New Issue
Block a user