mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 12:21:12 +00:00
The fix for missing keyring initialization without TSIG auth in PR #11461 put the initialization of "self.keyring" and "self.keyname" in an else clause after checking if "key_name" is set. The problem is that for "key_algorithm" == "gss-tsig": a) "key_name" isn't set b) self.keyring and self.keyname have already been initialized and will be discarded This means that gss-tsig support is broken. Fix it by moving the initialization of "self.keyring" and "self.keyname" to the top.