mirror of
https://github.com/famedly/ansible-collection-dns
synced 2024-11-14 16:27:14 +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 = _(
|
||||
changed=False,
|
||||
diff={},
|
||||
message=''
|
||||
msg=''
|
||||
)
|
||||
|
||||
failed = False
|
||||
|
@ -137,7 +137,7 @@ def main():
|
|||
server_ip: str = primary_master_to_ip_literal(module.params['primary_master'])
|
||||
if not server_ip:
|
||||
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)
|
||||
|
||||
# Get existing RRs first
|
||||
|
|
Loading…
Reference in a new issue