Patroni supports defining some of the configuration parameters by setting the system environment variables. We should check existing environment variables (e.g. {{ ansible_env.SOME_VARIABLE }}) before tweaking the Patroni configuration file because those variables always take precedence over the ones set in the Patroni configuration file.
Patroni supports defining some of the configuration parameters by setting the system environment variables. We should check existing environment variables (e.g.
{{ ansible_env.SOME_VARIABLE }}
) before tweaking the Patroni configuration file because those variables always take precedence over the ones set in the Patroni configuration file.