You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Prevot a1bad43b25
Drop unsigned repository when adding a signed one
2 months ago
defaults Use proper keyrings directory for APT version 3 months ago
files postgresql: rename GPG key 2 years ago
handlers Set handler postgresql with systemctl daemon-reload 3 years ago
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
tasks Drop unsigned repository when adding a signed one 2 months ago
templates postgresql: add variable to configure binding addresses (default: 8 months ago
tests Improve Ansible syntax 2 years ago
.kitchen.yml Kitchen: Change base image to evolix/ansible 6 years ago Improve documentation 6 years ago


Installation and basic configuration of PostgreSQL.


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.