ansible-roles/postgresql
Ludovic Poujol e7987d9b99 postgresql: Add missing package, libdbd-pg-perl needed by munin-plugins 2017-10-20 11:15:19 +02:00
..
defaults postgresql: version 9.6 by default 2017-10-04 14:54:46 +02:00
files download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
handlers Add pgdg repository to minifirewall 2017-03-28 10:46:47 -04:00
meta Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
tasks postgresql: Add missing package, libdbd-pg-perl needed by munin-plugins 2017-10-20 11:15:19 +02:00
templates postgresql: version 9.6 by default 2017-10-04 14:54:46 +02:00
tests fixup! postgresql: reconfigure locales before tests 2017-05-20 00:22:53 +02:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
README.md Improve documentation 2017-01-05 18:22:06 +01:00

README.md

PostgreSQL

Installation and basic configuration of PostgreSQL.

Tasks

Tasks are in several files, included in tasks/main.yml :

  • packages.yml : packages installation ;
  • config.yml : configurations ;
  • nrpe.yml : nrpe user for Nagios checks ;
  • munin.yml : Munin plugins ;
  • logrotate.yml : logrotate configuration.

Available variables

Main variables are :

  • postgresql_databases: list of databases for Munin plugins
  • postgresql_shared_buffers: (default: 4GB)
  • postgresql_work_mem: (default: 8MB)
  • postgresql_random_page_cost: (default: 1.5)
  • postgresql_effective_cache_size: (default: 14GB)

The full list of variables (with default values) can be found in defaults/main.yml.