mirror of
https://github.com/famedly/ansible-collection-dns
synced 2024-11-15 00:37:08 +00:00
fix(update): use msg instead of message in module result
This commit is contained in:
parent
60bed8971d
commit
54a7780996
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ def main():
|
||||||
result = _(
|
result = _(
|
||||||
changed=False,
|
changed=False,
|
||||||
diff={},
|
diff={},
|
||||||
message=''
|
msg=''
|
||||||
)
|
)
|
||||||
|
|
||||||
failed = False
|
failed = False
|
||||||
|
@ -137,7 +137,7 @@ def main():
|
||||||
server_ip: str = primary_master_to_ip_literal(module.params['primary_master'])
|
server_ip: str = primary_master_to_ip_literal(module.params['primary_master'])
|
||||||
if not server_ip:
|
if not server_ip:
|
||||||
failed = True
|
failed = True
|
||||||
result['message'] = f"No reachable IP or IPv4 address found for {module.params['primary_master']}, connection probing done with port 53/tcp."
|
result['msg'] = f"No reachable IP or IPv4 address found for {module.params['primary_master']}, connection probing done with port 53/tcp."
|
||||||
module.fail_json(**result)
|
module.fail_json(**result)
|
||||||
|
|
||||||
# Get existing RRs first
|
# Get existing RRs first
|
||||||
|
|
Loading…
Reference in a new issue