ansible-role-patroni
ansible-role-patroni copied to clipboard
Check defined environment variables
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.