etcd3 lookup - improve HTTPS connection handling and docs (#11861)

* etcd3 lookup - improve HTTPS connection handling and documentation

Improve user experience when connecting to HTTPS etcd3 endpoints:
- Strip URL scheme from host option when present, with a warning
- Warn when HTTPS endpoint is specified but ca_cert is not provided
- Document that ca_cert is required to enable TLS
- Add HTTPS connection example
- Fix minor doc markup issue in notes section

Fixes #1664

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add changelog fragment for PR 11861

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexei Znamensky
2026-04-17 23:56:57 +12:00
committed by GitHub
parent 342a76d5dd
commit 076bc4e03b
2 changed files with 42 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
bugfixes:
- >-
etcd3 lookup plugin - improve HTTPS endpoint handling by stripping URL schemes from the ``host`` option
and warning when ``ca_cert`` is not provided for HTTPS endpoints
(https://github.com/ansible-collections/community.general/issues/1664,
https://github.com/ansible-collections/community.general/pull/11861).