Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playbook to install a Postgresql-HA environment

Roles

The playbook runs four roles hosts-file postgres-HA keepalive pgbouncer

host-file

This role adds the hostname and the fqdn to the /etc/hosts file.
Reason to do that:
Sometimes DNS-changes are slower then the we need it to run the ansible-scripts. The entry in the /etc/hosts file prefents other roles aganist host not found/unknown/reachable errors.

postgres-HA

Role readme. Original ansible-repo. This role installs a postgres HA-cluster. Managed is the cluster with repmgr a tool to manage replication and failover.

keepalive

Role readme. Here we install keepalive. It uses a additional IP that can be switched between hosts after a failover.

pgbouncer

Role readme. At last we install pgbouncer. It is a pooler to make client-connections faster and more stable.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages