zorlin.patroni
Ansible Role for Patroni
This is an Ansible role that installs and sets up Patroni, which is a high-availability solution for PostgreSQL.
Help Wanted!
If you have any trouble using this role, see a bug, find a missing feature, or have suggestions to improve it, please let us know by creating an issue.
Requirements
This role needs root access, so make sure to tell Ansible to use become: true
in whatever way works for you. You can find more details here.
Role Variables
Coming soon.
Dependencies
This role doesn't have dependencies, but Patroni requires a Distributed Configuration Store (DCS) like Etcd, Consul, ZooKeeper, or Exhibitor to be installed and set up beforehand. It's your job to ensure that DCS is ready before you use this role. If you need a DCS, you can use one of the following roles (just uncomment the relevant section here and set patroni_dcs_exists
to false):
Example Playbook
- hosts: postgresql-servers
become: yes
roles:
- kostiantyn-nemchenko.patroni
License
MIT
Author Information
Kostiantyn Nemchenko kostiantyn.nemchenko@gmail.com
An Ansible role which installs and configures Patroni - HA solution for PostgreSQL
ansible-galaxy install zorlin.patroni