mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
[PR #11461/4bbedfd7 backport][stable-12] nsupdate: fix missing keyring initialization without TSIG auth (#11516)
nsupdate: fix missing keyring initialization without TSIG auth (#11461)
* nsupdate: fix missing keyring initialization without TSIG auth
* Update changelogs/fragments/fix-nsupdate-keyring.yml
---------
(cherry picked from commit 4bbedfd7df)
Co-authored-by: Pascal <pascal.guinet@free.fr>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
a0c4308bed
commit
75b6b4d792
2 changed files with 5 additions and 0 deletions
|
|
@ -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