Commit Graph

59 Commits

Author SHA1 Message Date
Tommaso Piccioli 84b1c899ef if master check added 2021-09-17 17:56:29 +02:00
Andrea Dell'Amico ac009a330a
Add options to the streaming replication conf. 2021-09-17 15:41:38 +02:00
Andrea Dell'Amico 44c99e81bd Merge pull request 'backup and clean of wal files' (!1) from tpiccioli/ansible-role-postgresql:master into master
Reviewed-on: ISTI-ansible-roles/ansible-role-postgresql#1
2021-09-17 11:33:59 +02:00
Tommaso Piccioli 7f799023d9 backup and clean of wal files 2021-09-16 23:54:17 +02:00
Andrea Dell'Amico 8af951180e
Always reload the service. 2021-07-05 11:47:51 +02:00
Andrea Dell'Amico c559b6b0f6
Define psql_wal_files_archiving_enabled 2021-06-01 23:59:18 +02:00
Andrea Dell'Amico d872e67c8c Another template that pertains to pgpool. 2021-04-07 19:17:02 +02:00
Andrea Dell'Amico 14968c9da3 Remove the sudoers file. It's pgpool stuff. 2021-04-07 19:10:30 +02:00
Andrea Dell'Amico d73add956c Flush the handlers when needed. 2021-04-06 16:55:11 +02:00
Andrea Dell'Amico 50e8e57c33 Fix the path of the active.standby file. 2021-04-06 16:19:35 +02:00
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 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