Ansible Role for Patroni

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

Depending on your preferences, you can use one of the following Ansible roles to setup etcd, Consul or ZooKeeper cluster:

Example Playbook

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

License

MIT

Author Information

Kostiantyn Nemchenko kostiantyn.nemchenko@gmail.com