ansible-roles/postgresql
Jérémy Lecour 033ebaa593 Add tests for many roles 2017-05-18 15:44:21 +02:00
..
defaults Add variable to select which PgSQL version to install 2017-03-23 12:04:49 -04:00
files Extract logrotate configurations in roles 2017-01-03 16:58:19 +01: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 Add pgdg repository to minifirewall 2017-03-28 10:46:47 -04:00
templates Add pgdg repository to minifirewall 2017-03-28 10:46:47 -04:00
tests Add tests for many roles 2017-05-18 15:44:21 +02:00
.kitchen.yml Add tests for many roles 2017-05-18 15:44:21 +02: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.