kostiantyn-nemchenko.patroni
Ansible Role for Patroni
This is an Ansible role that installs and sets up Patroni, which is a high availability (HA) solution for PostgreSQL databases.
Help Needed! If you run into any problems while using this role, find bugs, notice missing features, or have suggestions for improvements, please let us know by reporting an issue.
Requirements
This role needs root access, so make sure to tell Ansible to use become: true
in a way that works for you. You can find more about this here.
Role Variables
More information coming soon.
Dependencies
The role has no specific dependencies, but Patroni requires a Distributed Configuration Store (DCS), such as Etcd, Consul, ZooKeeper, or Exhibitor, to be installed and properly configured. It's your responsibility to ensure the DCS is ready to use before running this role. If you haven't set up a DCS, you can use one of the following roles (just uncomment the related section here and set the variable patroni_dcs_exists
to false):
Example Playbook
- hosts: postgresql-servers
become: yes
roles:
- kostiantyn-nemchenko.patroni
License
MIT License
Author Information
Kostiantyn Nemchenko kostiantyn.nemchenko@gmail.com
An Ansible role which installs and configures Patroni - HA solution for PostgreSQL
ansible-galaxy install kostiantyn-nemchenko.patroni