mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix KeyError for 'dnsttl' (#11717)
* Fix KeyError for 'dnsttl' I did not further dig into the code. However, since upgrading to the latest version of `community.general`, ansible fails with a weird error message "dnsttl" at a task where `community.general.ipa_dnsrecord` is called. After digging into the code a bit, I found out that it is a KeyError and caused by this line of code. I'm not sure, if it is safe to skip that line and not to set `result["dnsttl"]`. * Add changelog fragment * Adopt suggestion for changelogs/fragments/11717-fix-error-dnsttl.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
2
changelogs/fragments/11717-fix-error-dnsttl.yml
Normal file
2
changelogs/fragments/11717-fix-error-dnsttl.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ipa_dnsrecord - fix errors when module is used with existing record with default TTL (https://github.com/ansible-collections/community.general/pull/11717).
|
||||
Reference in New Issue
Block a user