mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00: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:
committed by
GitHub
parent
8a62b79ef2
commit
23e7ef0255
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).
|
||||
Reference in New Issue
Block a user