Ansible role which installs and configures Pgpool II
CentOS/Rhel 6.x & 7.x / Amazon Linux 2014.09
pgpool_db_hosts
- a list of the database backend hostspostgresql_data_directory
- postgresql data directory (default/var/lib/pgsql/data
)pgpool_delegate_IP
- virtual IP address of the poolpgpool_replication_user
- user with replication privileges (defaultpostgres
)pgpool_replication_password
- password for user with replication privilegespgpool_pcp_password
- password for pcp command line toolspgpool_wd_authkey
- shared authorization key for pgpool watchdogs
Tested with the Open Future Belgium postgresql role
core_config_updates
- apply only configuration file updates, call neccessary handlers
- hosts: pgpool-cluster
sudo: yes
sudo_user: root
roles:
- pgpool
- pgpool/configure
- pgpool/start
- pgpool/test
bugzilla dereference
- remove references from the first project that implemented this role, making it more generic.
MIT
-
Will Thames
-
Marco Grigull