Commit Graph

14 Commits

Author SHA1 Message Date
Andrea Dell'Amico fd700fe28c Add a random seep before restarting the postgresql and pgpool services after a certificate renewal. See https://support.d4science.org/issues/10229 2017-11-06 18:01:48 +01:00
Andrea Dell'Amico 2f914bcf2d library/roles/postgresql/files/postgresql-letsencrypt-acme.sh: postgresql needs a full restart when the SSL certificate changes. 2017-08-21 13:26:14 +02:00
Andrea Dell'Amico 4edbd0350a library/roles/postgresql: Fix the ssl key permissions. 2017-01-19 19:10:12 +01:00
Andrea Dell'Amico 31b56fd211 library/roles/postgresql/files/postgresql-backup.cron: Log the start and end backup date. 2016-11-28 18:40:06 +01:00
Andrea Dell'Amico d3d621802f library/roles/postgresql: Fix the pgpass creation. 2016-11-28 18:38:54 +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 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 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 293b71f036 library/roles: Fix all the letsencrypt hook script. We need to use the FQDN hostname. 2016-06-23 14:05:11 +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 4067c73b99 library/roles/mysql/templates/mysql-backup.cron.j2, library/roles/postgresql/files/postgresql-backup.cron: do not perform backups if backuppc is running successfully. 2016-03-21 14:40:56 +01:00
Tommaso Piccioli 44233dd5f7 Fixed error in variable test 2016-01-18 09:49:46 +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 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