Skip to content

kostiantyn-nemchenko/ansible-role-patroni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cf27f6b · Sep 27, 2021
Sep 27, 2021
Oct 10, 2017
Sep 27, 2021
Sep 27, 2021
Sep 27, 2021
Sep 27, 2021
Nov 19, 2019
Sep 27, 2021
Aug 16, 2017
Nov 19, 2019
Jan 8, 2020
Nov 19, 2019

Repository files navigation

Ansible Role for Patroni

Build Status Ansible Galaxy

An Ansible role which installs and configures Patroni - HA solution for PostgreSQL.

Help Wanted! If you encountered any difficulties with deploying the role into your environment, noticed a bug or a missing feature or just have an idea of how this project could be enhanced, please feel free to file an issue.

Requirements

This role requires root privileges, so tell ansible to use become: true in any convenient way for you.

Role Variables

Coming soon.

Dependencies

There are no dependencies for the role, but Patroni itself needs a DCS (Etcd, Consul, ZooKeeper or Exhibitor) to be installed and configured properly and it's your responsibility to make it up and running before using this role. Currently, it is supposed that a DCS is prepared. Otherwise, you can try one of the following roles (just uncomment respective section here and set patroni_dcs_exists variable to false):

Example Playbook

- hosts: postgresql-servers
  become: yes
  roles:
    - kostiantyn-nemchenko.patroni

License

MIT

Author Information

Kostiantyn Nemchenko kostiantyn.nemchenko@gmail.com