From aa338d137b6c4dd2b6ed5c7355ae7cbc278e50e5 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 2 Mar 2016 17:47:05 +0100 Subject: [PATCH] d4science-ghn-cluster/group_vars/postgres_pgpool_dev/main.yml: Install all the required pgpool-II pieces. --- postgresql/defaults/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/postgresql/defaults/main.yml b/postgresql/defaults/main.yml index 8e2fe9db..2af02923 100644 --- a/postgresql/defaults/main.yml +++ b/postgresql/defaults/main.yml @@ -48,7 +48,12 @@ psql_db_name: db_name psql_db_user: db_user psql_db_pwd: "We cannot save the password into the repository. Use another variable and change pgpass.j2 accordingly. Encrypt the file that contains the variable with ansible-vault" +# pgpool-II +pgpool_pkgs: + - 'postgresql-{{ psql_version }}-pgpool2' + - pgpool2 +# postgis postgres_install_gis_extensions: False postgres_gis_version: 2.1 postgres_gis_pkgs: @@ -75,7 +80,4 @@ pg_backup_use_nagios: "yes" # Example of line needed to manage the db accesses (used by iptables too), without creating the db and the user. Useful, for example, to give someone access to the postgresql db #- { name: '{{ psql_db_name }}', user: '{{ psql_db_user }}', allowed_hosts: [ 'xxx.xxx.xxx.xxx/32', 'yyy.yyy.yyy.yyy/32' ] } -pgpool_pkgs: - - 'postgresql-{{ psql_version }}-pgpool2' -