Commit graph

34 commits

Author SHA1 Message Date
Kevin Fenzi
4dad64e596 Clean up postgresql template and move variables into host vars for each db host as they are memory dependent. 2016-04-01 23:32:00 +00:00
Kevin Fenzi
ee6d457c84 Adjust db01 postgresql config also. 2016-03-15 18:00:36 +00:00
Kevin Fenzi
f1d26dda17 Tweak postgresql settings for db-koji01 2016-03-15 03:02:30 +00:00
Kevin Fenzi
3b67f74b90 Fix script to be executable 2015-04-27 18:25:55 +00:00
Kevin Fenzi
28b402ded1 Add missing fasdb cleanup sessions cron job. 2015-04-27 16:24:27 +00:00
Kevin Fenzi
fee2f37cc3 Exclude any sessions table data from db backups. 2015-04-02 17:56:55 +00:00
Patrick Uiterwijk
229669ec6b Updating postgresql config requires postgres restart 2014-12-18 03:53:33 +00:00
Patrick Uiterwijk
e42361a563 Also apply the postgresql bytea pg-8 compat hotfix on db01 for bodhi1 2014-12-18 03:51:03 +00:00
Patrick Uiterwijk
9d744d71e3 Put pg into pg-8 compat mode for sqlalchemy with binary content 2014-12-16 23:42:53 +00:00
Kevin Fenzi
1af3349e63 Add larger shared_memory value to other db servers 2014-12-08 14:50:57 +00:00
Kevin Fenzi
bb408a1c1f Fix postgresql role for smaller memory machines. 2014-12-08 14:47:06 +00:00
Ralph Bean
6910ca6b48 Delete old postgresql backups. 2014-11-12 16:56:44 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Kevin Fenzi
1dc2945f12 Add koji cleanup sessions on koji database server. 2014-10-01 20:29:25 +00:00
Pierre-Yves Chibon
78ed619ad4 Switch back to the option 2014-09-30 14:39:12 +02:00
Pierre-Yves Chibon
b5e20b4b23 Only run postgresql-setup initdb when /var/lib/pgsql/data does not exist 2014-09-30 14:26:55 +02:00
Pierre-Yves Chibon
ad717c8ff0 Set the kernel SHMMAX parameter if one is defined for the host 2014-09-29 16:32:49 +02:00
Ralph Bean
e71742c4b9 Add tag. 2014-09-25 20:44:30 +00:00
Ralph Bean
535f5d324a Tweak kernel.shmmax for postgres. 2014-09-25 20:42:43 +00:00
Ralph Bean
f7312493a8 Try moving this. 2014-09-25 20:30:31 +00:00
Ralph Bean
8651f11fd8 Run the setup command if it hasn't already been run. 2014-09-25 20:27:04 +00:00
Ralph Bean
1fb5bd3524 Add the postgres tag to the role. 2014-09-25 20:26:49 +00:00
Ralph Bean
5e32fe5643 Move postgres backup cron task inside a bash flavored script. 2014-01-13 16:16:27 +00:00
Ralph Bean
12b88b57a1 Cron backups for db-datanommer01. 2014-01-10 21:29:20 +00:00
Ralph Bean
18100deb21 Remove unused pg_hba.conf.j2 file. 2014-01-10 21:27:45 +00:00
Ralph Bean
db6fdf9bb0 Add a second config file for postgresql. 2014-01-10 20:52:18 +00:00
Ralph Bean
c1a97c4a40 Add a postgres config to the postgres role. 2014-01-10 20:40:08 +00:00
Kevin Fenzi
8cc4c30647 Add db-datanommer01, clean up postgres playbooks to be generic and not koji specific. 2014-01-10 18:56:25 +00:00
Kevin Fenzi
f7d56ff2b1 Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
Kevin Fenzi
4ea8fb7509 Nuke some more only_if stragglers 2013-11-25 19:10:22 +00:00
Kevin Fenzi
63fa608bce Move again the installing of koji pkg on db server 2013-09-13 17:25:48 +00:00
Kevin Fenzi
3dae75234b Move postgresql stuff around. 2013-09-12 22:56:34 +00:00
Kevin Fenzi
35c1ff1d8c Add python psycopg2 2013-09-12 22:27:42 +00:00
Kevin Fenzi
8e2ec48cc0 Migrate a bunch of things to roles. Thanks to misc! 2013-08-19 20:12:26 +00:00