Commit Graph

37 Commits

Author SHA1 Message Date
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 c848feb9b7 postgresql letsencrypt tasks: Fix some tasks names. 2017-11-06 18:20:24 +01:00
Andrea Dell'Amico ea659806cb Fix some typos. 2017-08-23 15:05:03 +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 ee949621e9 library/roles/postgresql/tasks/postgresql-backup.yml: Add the pg_db tag to the relevant backup tasks. 2017-04-14 18:29:52 +02:00
Andrea Dell'Amico f7ce869b01 library/roles/postgresql/tasks/configure-access.yml: Add the pg_db tags to the tasks that set pg_hba.conf. 2017-04-10 11:45:40 +02:00
Andrea Dell'Amico f8254e1a82 library/roles/postgresql: Various fixes for some complex cases. 2017-03-07 13:12:36 +01:00
Andrea Dell'Amico 4edbd0350a library/roles/postgresql: Fix the ssl key permissions. 2017-01-19 19:10:12 +01: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 c1806aafaf library/roles/postgresql/tasks/manage_pg_db.yml: Fix a description. 2016-11-28 19:40:00 +01:00
Andrea Dell'Amico d3d621802f library/roles/postgresql: Fix the pgpass creation. 2016-11-28 18:38:54 +01:00
Andrea Dell'Amico c8463c62a9 library/roles/postgresql: Fix the pgpool recovery scripts to be compatible with pgpool 2.5. 2016-10-26 18:17:03 +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 549e18af31 library/roles/postgresql/tasks/manage_pg_db.yml: Ansible 2 compatibility 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 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 2641b4d863 library/roles/postgresql/tasks/configure-access.yml: Fix a variable that can be undefined. 2016-06-27 13:38:11 +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 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 98689422b6 library/roles/postgresql: complete the WAL setup needed by pgpool. Fix the pgpool recovery scripts. Fix the pgpool and postgres recovery configuration, users and pgpool functions.
d4science-ghn-cluster/group_vars/postgres_pgpool_test: Add a password for the postgresql postgres user.
2016-06-09 16:49:41 +02:00
Andrea Dell'Amico cae4d2a7f7 library/roles/postgresql/tasks/pgpool-ii.yml: Fix the pcp.conf installation. 2016-06-08 15:27:54 +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 04c07fa3a4 infrastructure-services/roles/nginx-frontend/templates/code-repo.d4science.org-virtualhost.j2: Virtualhost to proxy gitblit and gerrit.
library/roles/gitblit: More gitblit configuration setup.
library/roles/postgresql/tasks/manage_pg_db.yml: disable the task that manages extensions. The conditional cannot work.
2016-03-24 11:54:19 +01: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 01cdd8e432 library/roles/postgresql/tasks/manage_pg_db.yml: Specify the port when talking to postgresql. 2016-03-07 19:24:13 +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 75fd7d0574 library/roles/postgresql, library/roles/tomcat-multiple-instances, library/roles/tomcat, library/roles/ubuntu-deb-general: ansible 2 cleanup. 2016-03-02 16:44:43 +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 cb35582624 ../library/roles/apache: Ignore errors when starting the service for the first time.
../library/roles/nginx: Ignore errors when starting the service for the first time.
../library/roles/postgresql/tasks/manage_pg_db.yml: New 'createdb' variable is used to setup more than one user for the same database.
2016-01-27 18:43:55 +01:00
Andrea Dell'Amico f38597a4a2 library/roles/postgresql/tasks/manage_pg_db.yml: Use the new syntax for the privilege escalation. Use 'become' instead of 'sudo'. 2016-01-25 18:11:43 +01:00
Andrea Dell'Amico d37840100e Various fixes to the library roles. 2015-07-13 14:17:42 +02: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