mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-11 02:25:36 +00:00
Wire env_fallback for host, port, scheme, validate_certs and token so the module picks up CONSUL_HTTP_ADDR, CONSUL_HTTP_SSL, CONSUL_HTTP_SSL_VERIFY and CONSUL_HTTP_TOKEN when the corresponding options are not set. The module previously declared default="localhost"/8500/"http" and forwarded those values to consul.Consul(), which prevented the underlying client from consulting the environment. CONSUL_HTTP_ADDR accepts both the bare ``host:port`` form and the full ``scheme://host:port`` URL form. The hardcoded defaults are preserved as the final fallback, so behavior without env vars is unchanged. |
||
|---|---|---|
| .. | ||
| action | ||
| become | ||
| cache | ||
| callback | ||
| connection | ||
| doc_fragments | ||
| filter | ||
| inventory | ||
| lookup | ||
| module_utils | ||
| modules | ||
| plugin_utils | ||
| test | ||