ansible-role-patroni
ansible-role-patroni copied to clipboard
:elephant: Ansible Role for Patroni
Hi, When we use the role to install patroni on our servers, it fails at the step "restart watchdog" with the following message: ```console fatal: [kilogram]: FAILED! => {"changed": false,...
Postgresql should be started by patroni and not by systemd. This MR include a task to disable start of posgresql by systemd.
As far as I understood, patroni was not installed if patroni_install_from_pip: False
If the `postgresql.pg_ident` is defined in the config file or DCS, Patroni will write its value to pg_ident.conf, however, if `postgresql.parameters.ident_file` is defined, Patroni will assume that pg_ident is managed...
I dont know how fix it. ``` TASK [retr0h.etcd : Add etcd systemd service] *************************************************************************************************** fatal: [ubuntu1]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'etcd'"} fatal:...
Patroni supports defining some of the configuration parameters by setting the system [environment variables](http://patroni.readthedocs.io/en/latest/ENVIRONMENT.html). We should check existing environment variables (e.g. `{{ ansible_env.SOME_VARIABLE }}`) before tweaking the Patroni configuration file...
Add support of post_init/post_bootstrap scripts - an additional scripts that will be executed after initializing the cluster using initdb or custom bootstrap method respectively.
Define `ExecReload` option and respective command to be executed when the unit is reloaded.