Commit Graph

47 Commits

Author SHA1 Message Date
Andrea Dell'Amico 32ce224928 Add the commands that start the replication. 2021-04-06 16:03:26 +02:00
Andrea Dell'Amico ebec0f1c0a Use ssl for the replication connection if possible 2021-04-06 14:52:22 +02:00
Andrea Dell'Amico 8e5010fd65 Limit the replica user to the replication db. 2021-04-06 14:43:49 +02:00
Andrea Dell'Amico ad879841f4 Passwords are still md5. 2021-04-06 14:35:54 +02:00
Andrea Dell'Amico 1d447c464a Fix the loop tasks. 2021-04-06 14:33:15 +02:00
Andrea Dell'Amico 7f52dbbe4f Remove a non existing option. 2021-04-06 14:28:10 +02:00
Andrea Dell'Amico 74af14a437 Fix a typo. 2021-04-06 14:24:13 +02:00
Andrea Dell'Amico 5f6bf2bfa8 Do not reload after adding the replica user. 2021-04-06 14:17:47 +02:00
Andrea Dell'Amico dbb81296d7 Basic config support of streaming replication. 2021-04-06 14:15:37 +02:00
Andrea Dell'Amico d78291926e naming cleanup. 2021-04-05 18:53:29 +02:00
Andrea Dell'Amico 573f87923f Another undefined variable. 2021-04-03 16:28:37 +02:00
Andrea Dell'Amico 66706d244e Default for psql_wal_archiving_log_dir 2021-04-03 16:04:35 +02:00
Andrea Dell'Amico fe20da9822 Remove the pgpool tasks and files. 2021-04-02 18:08:23 +02:00
Andrea Dell'Amico 87c1233658 manage extensions. 2021-03-31 17:18:58 +02:00
Andrea Dell'Amico a61da112ef Better defaults. Additional tag for the firewalld task. 2021-03-23 15:21:20 +01:00
Andrea Dell'Amico c314c2f192 pg_top changed naming 2021-03-22 17:03:30 +01:00
Andrea Dell'Amico 18c33753e9 Fix the yum repository URL. 2021-03-22 16:59:18 +01:00
Andrea Dell'Amico 0fb5e41bb3 Fix a typo. 2021-02-24 18:07:59 +01:00
Andrea Dell'Amico 02018faf95 Install memcached, conditionally. 2021-02-24 17:57:49 +01:00
Andrea Dell'Amico 45703e5d71 Fix a conditional. 2021-02-16 18:49:46 +01:00
Andrea Dell'Amico 9c06db234e fix a conditional. 2021-02-16 18:12:21 +01:00
Andrea Dell'Amico 8d6db35b06 Fix a typo. 2021-02-05 19:50:30 +01:00
Andrea Dell'Amico ebb22e6642 Another attempt to fix the pgpool recovery scripts. 2021-02-05 19:44:42 +01:00
Andrea Dell'Amico 8583309e0f alert to remember that the ssh setup has a manual step 2021-02-05 17:37:30 +01:00
Andrea Dell'Amico d83e31068e fix the data directory path 2021-02-05 16:38:04 +01:00
Andrea Dell'Amico f3c6ddd67b Ensure the correct permissions of the config files. 2021-02-05 16:15:23 +01:00
Andrea Dell'Amico c103c9bdf0 The postgresql default version is now 13. 2021-02-05 14:20:28 +01:00
Andrea Dell'Amico d49d3b67ab Fix the pgpool version number. 2021-02-05 14:19:48 +01:00
Andrea Dell'Amico 0e3d7f4d9c Fix the postgresql data dir path. 2021-02-05 13:49:56 +01:00
Andrea Dell'Amico b753d89276 fix the default data directory path 2021-02-05 13:38:15 +01:00
Andrea Dell'Amico b1c0af112f Fix the letsencrypt (acme) hook to not restart the service when the certificate was not changed. 2020-12-04 12:12:50 +01:00
Andrea Dell'Amico be46ede742 Move the tasks that do not depend from psql_db_data 2020-10-18 20:23:29 +02:00
Andrea Dell'Amico 3f63d00c87 Fix some booleans. 2020-10-18 20:15:02 +02:00
Andrea Dell'Amico 06dbe8d595 Remove the local ident authentication. 2020-07-31 13:08:43 +02:00
Andrea Dell'Amico ac61ee1777 Use the correct task to set the selinux context. 2020-07-31 13:07:47 +02:00
Andrea Dell'Amico dcfbe46af5 Missing argument. 2020-07-30 19:08:23 +02:00
Andrea Dell'Amico bc9a0fefa3 Create the log directory on EL. 2020-07-30 19:04:12 +02:00
Andrea Dell'Amico 3689c3a828 Fix a variable name. 2020-07-30 16:25:57 +02:00
Andrea Dell'Amico 721c4d43af Remove the tasks that install the packages from postgresql_org_repo.yml 2020-07-30 16:20:00 +02:00
Andrea Dell'Amico d01b802844 Fix a typo. 2020-07-30 16:13:32 +02:00
Andrea Dell'Amico 9735ea05f7 Fix the configuration directory for the EL distributions. 2020-07-30 16:12:34 +02:00
Andrea Dell'Amico dcff05b8e1 Add support for CentOS. 2020-07-30 14:14:39 +02:00
Andrea Dell'Amico 517d48484c Use the firewalld module on CentOS only. 2020-07-21 14:16:45 +02:00
Andrea Dell'Amico cc1a90b195 Rename the module. 2020-07-08 14:28:33 +02:00
Andrea Dell'Amico 248fc180a0 Add the configfile module. 2020-07-08 12:49:14 +02:00
Andrea Dell'Amico 849cbf64ea Import the old role, Ubuntu only. 2020-06-03 19:53:13 +02:00
S2I2S @ ISTI-CNR 8cb9b02c51 Initial commit 2020-06-03 19:19:32 +02:00