1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-15 12:27:38 +00:00
community.general/changelogs
patchback[bot] f8e9c9ce1b
[PR #12120/d46ce24a backport][stable-13] consul_kv: add empty_value option for null Consul values (#12153)
consul_kv: add `empty_value` option for null Consul values (#12120)

* feat(consul_kv): add empty_value option for null Consul values

Add the ``empty_value`` option to the ``consul_kv`` lookup plugin, allowing
users to control what is returned when a key exists in Consul but has a
null/empty value. Defaults to ``'None'`` to preserve existing behaviour.



* feat(changelog): add fragment for PR 12120



* feat(consul_kv): make empty_value a choices option

Replace the free-form string empty_value with a choices option:
textual_none (default, legacy behaviour), python_none, empty_string.



* docs(consul_kv): use dict form for empty_value choices



---------


(cherry picked from commit d46ce24abb)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 16:59:05 +02:00
..
fragments [PR #12120/d46ce24a backport][stable-13] consul_kv: add empty_value option for null Consul values (#12153) 2026-05-31 16:59:05 +02:00
.gitignore
changelog.yaml Release 13.0.1. 2026-05-25 21:19:41 +02:00
changelog.yaml.license
config.yaml Normalize changelog configs. 2025-07-27 16:36:35 +02:00