mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
Merge c3b209c5fa into 95b24ac3fe
This commit is contained in:
commit
904039cd96
2 changed files with 5 additions and 0 deletions
2
changelogs/fragments/fix-nsupdate-keyring.yml
Normal file
2
changelogs/fragments/fix-nsupdate-keyring.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- nsupdate - fix ``AttributeError`` when using the module without TSIG authentication (https://github.com/ansible-collections/community.general/issues/11460).
|
||||
|
|
@ -248,6 +248,9 @@ class RecordManager:
|
|||
module.fail_json(msg="Missing key_secret")
|
||||
except binascii_error as e:
|
||||
module.fail_json(msg=f"TSIG key error: {e}")
|
||||
else:
|
||||
self.keyring = None
|
||||
self.keyname = None
|
||||
|
||||
if module.params["zone"] is None:
|
||||
if module.params["record"][-1] != ".":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue