Introduce dig lookup argument fail_on_error (#4973)

with default False for backwards compatibility.

Allows fail-fast behavior on lookup failures instead of returning strings and continuing.
This commit is contained in:
Benjamin 2022-07-24 12:08:47 +02:00 committed by GitHub
commit 2662bc881f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 7 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- dig lookup plugin - add option ``fail_on_error`` to allow stopping execution on lookup failures (https://github.com/ansible-collections/community.general/pull/4973).