mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-08 07:04:23 -07:00
Add option for retry_servfail (#3247)
* Add option for retry_servfail cf. https://dnspython.readthedocs.io/en/latest/resolver-class.html#dns.resolver.Resolver.retry_servfail Setting this option to `True` allows for the possibility of the lookup plugin to retry and thereby recover from potentially transient lookup failures, which would otherwise cause the task or play to bail with an unrecoverable exception. * Create 3247-retry_servfail-for-dig * documentation for `retry_servfail` option * Rename 3247-retry_servfail-for-dig to 3247-retry_servfail-for-dig.yaml * fix whitespace * Update plugins/lookup/dig.py Co-authored-by: Ajpantuso <ajpantuso@gmail.com> * Update plugins/lookup/dig.py Co-authored-by: Ajpantuso <ajpantuso@gmail.com> * rm try/except block Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
This commit is contained in:
parent
8a62b79ef2
commit
23e7ef0255
2 changed files with 14 additions and 0 deletions
3
changelogs/fragments/3247-retry_servfail-for-dig.yaml
Normal file
3
changelogs/fragments/3247-retry_servfail-for-dig.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- dig lookup plugin - add ``retry_servfail`` option (https://github.com/ansible-collections/community.general/pull/3247).
|
Loading…
Add table
Add a link
Reference in a new issue