Skip to content

Ansible role to boostrap Patroni-controlled PostgreSQL cluster

License

Notifications You must be signed in to change notification settings

imcitius/ansible-patroni.role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

These variables should be set:

Host vars:

[pgsql-cluster]

192.168.152.122 hostname=irontrade-pgsql-01

Example group vars:

[pgsql-cluster:vars]

archive_command: "/bin/true"

pgsql_base_config: templates/postgresql.base.conf

pgsql_version: "9.6"

pgsql_archive_command: ""

patroni_scope: "patroni-cluster-name"

patroni_rest_password: "rest-password"

patroni_postgres_password: "superadmin-password"

patroni_replicator_password: "replicator-password"

patroni_interface: "br-lan"

consul_addr: "localhost:8500"

pgbouncer_config: pgbouncer

keepalived_vip: "10.0.0.1"

keepalived_interface: "eth0"

keepalived_routerid: 100

haproxy_base_config: templates/haproxy.cfg.j2

pgbouncer_enabled: false

prometheus_node: yes

prometheus_pgsql: yes

About

Ansible role to boostrap Patroni-controlled PostgreSQL cluster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published