Commit Graph

15 Commits

Author SHA1 Message Date
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