Commit Graph

33 Commits

Author SHA1 Message Date
Andrea Dell'Amico f52f810ce2 Fix a check. 2021-04-06 16:15:58 +02:00
Andrea Dell'Amico b406707653 Fix the .pgpass path. 2021-04-06 16:08:16 +02:00
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 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 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 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 8583309e0f alert to remember that the ssh setup has a manual step 2021-02-05 17:37:30 +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 0e3d7f4d9c Fix the postgresql data dir path. 2021-02-05 13:49:56 +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 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