Andrea Dell'Amico
5bb0a5b1e5
library/roles/postgresql/defaults/main.yml: Fix a wrong variable name.
2017-12-06 13:26:08 +01:00
Andrea Dell'Amico
af2f3f397c
postgresql: Fix the letsencrypt and ssl tasks so that ssl can be disabled.
2017-11-21 18:06:23 +01:00
Andrea Dell'Amico
b4cb0771c8
More tuning of the workspace postgresql instance.
2017-08-23 16:41:17 +02:00
Andrea Dell'Amico
7d9b24174a
postgresql: Use different tasks to configure the logging system and the autovacuum.
2017-08-23 14:06:58 +02:00
Andrea Dell'Amico
cf4c3d56cc
library/roles/postgresql/defaults/main.yml: New default version: 9.6
2017-08-23 13:15:43 +02:00
Andrea Dell'Amico
62766b201d
library/roles/postgresql: The conf directory is now a variable.
2016-12-18 19:12:51 +01:00
Andrea Dell'Amico
5f73bac089
library/roles/postgresql: Fix a broken check in postgresql-backup.cron. Now if backuppc is running, the cron job does nothing.
2016-11-28 17:58:23 +01:00
Andrea Dell'Amico
e0bc74182b
d4science-ghn-cluster: Reconfigure the dev pgpool cluster to run with HA enabled. Tweak some parameters to achieve a better reliability.
2016-11-09 18:40:42 +01:00
Andrea Dell'Amico
54a50c9307
d4science-ghn-cluster: New production geonetwork server.
...
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the virtualhost so that it works when some of the optional variables are undefined.
2016-10-26 20:08:28 +02:00
Andrea Dell'Amico
b557e575f5
library/roles/postgresql: tons of fixes to the postgresql/pgpool tasks. Now the pgpool HA is handled.
2016-10-20 17:10:17 +02:00
Andrea Dell'Amico
6c3822e2e8
library/roles/postgresql/defaults/main.yml: Set psql_postgresql_install as False by default.
2016-10-05 17:56:44 +02:00
Andrea Dell'Amico
225e70a693
library/roles/postgresql: Fix the management of variables that are used to decide to create ad DB or not.
2016-09-13 16:34:08 +02:00
Andrea Dell'Amico
e8eb9fd144
library/roles/postgresql/defaults/main.yml: Remove the 'checkpoint_segments' property. It does not exist anymore on postgresql 9.5.
2016-09-13 13:53:48 +02:00
Andrea Dell'Amico
ebe5e5e79f
library/roles/postgresql: Configure ssl for pgpool too, if enable. Option to force ssl client connections to postgres.
2016-07-12 16:19:48 +02:00
Andrea Dell'Amico
66caef7db1
library/roles/ckan/ckan: Lot of modifications so that the playbooks are able to install CKAN with the services distributed on different machines.
...
library/roles/postgresql/tasks: Fix the SSL certificates paths.
2016-06-21 23:24:48 +02:00
Andrea Dell'Amico
4f6bec7bf3
library/roles/postgresql/defaults/main.yml: Use quotes for the ssl certs paths.
2016-06-21 20:41:05 +02:00
Andrea Dell'Amico
a6aa07ba6a
library/roles/postgresql/defaults/main.yml: Fix a typo.
2016-06-21 20:11:37 +02:00
Andrea Dell'Amico
e7f5d588b5
library/roles/postgresql: Manage SSL and install the letsencrypt acme hook if needed.
2016-06-21 19:58:26 +02:00
Andrea Dell'Amico
1533c860c3
library/roles/postgresql: Lots of changes to implement the pgpool installation better.
...
d4science-ghn-cluster/group_vars/postgres_pgpool_test: Changed some variables.
2016-06-07 18:27:33 +02:00
Andrea Dell'Amico
6b13deb40b
library/roles/postgresql: First steps of a pgpool configuration that can recovery. Lots of parts are still missing.
2016-04-07 18:12:21 +02:00
Andrea Dell'Amico
8a1edd5801
.gitignore: Ignore .idea files.
...
library/roles/postgresql: pgpool-II, manage the configuration file as a template. Manage authentication and authorization.
2016-03-08 14:40:38 +01:00
Andrea Dell'Amico
cf9dde6727
library/roles/postgresql: Set the postgresql port.
2016-03-07 19:18:46 +01:00
Andrea Dell'Amico
123af8c4ea
library/roles/data_disk/tasks/main.yml: Ansible 2 compatibility.
...
library/roles/postgresql: Ansible 2 compatibility.
library/roles/postgresql/tasks/manage_pg_db.yml: Add a task that activates extensions on the databases.
2016-03-07 17:43:37 +01:00
Andrea Dell'Amico
a02043382f
library/roles/postgresql: pgpool needs some parts installed on the postgresql server.
2016-03-04 17:07:08 +01:00
Andrea Dell'Amico
aa338d137b
d4science-ghn-cluster/group_vars/postgres_pgpool_dev/main.yml: Install all the required pgpool-II pieces.
2016-03-02 17:47:05 +01:00
Andrea Dell'Amico
289fa488c3
library/roles: More ansible 2 cleanup.
2016-03-02 15:54:10 +01:00
Andrea Dell'Amico
67ea1e71c3
library/roles/tomcat: Make it more ansible 2 compliant.
...
library/roles/postgresql: Make it more ansible 2 compliant.
2016-03-01 18:49:38 +01:00
Andrea Dell'Amico
d11b513c2d
d4science-ghn-cluster: playbook to configure a postgresql/pgpool cluster in the dev environment.
2016-03-01 18:43:30 +01:00
Andrea Dell'Amico
59308c5e5c
library/roles/postgresql: Add a playbook to install pgpool. Only the package right now.
2016-03-01 18:02:21 +01:00
Andrea Dell'Amico
8a23cbc153
library/roles/postgresql: Give the possibility to disable the postgresql backups. Create the list of dbs that need a backup automatically, if one is not provided.
2016-01-11 17:43:50 +01:00
Andrea Dell'Amico
e53c5a3f63
library/roles/postgresql: Fix the configuration tasks to use the configfile module
...
library/roles/iptables: Create rules for postgresql even if the service listens on localhost only.
2015-06-22 14:49:59 +02:00
Andrea Dell'Amico
73d37f81a6
Major refactoring. Moved all the library roles under 'library/roles' and changed all the occurrances inside all the playbooks.
2015-05-28 11:32:57 +02:00