2016-09-29 16:03:13 +00:00
|
|
|
---
|
|
|
|
# RHEL/CentOS only. Set a repository to use for PostgreSQL installation.
|
|
|
|
postgresql_enablerepo: ""
|
|
|
|
|
2016-09-29 16:59:22 +00:00
|
|
|
postgresql_user: postgres
|
|
|
|
postgresql_group: postgres
|
|
|
|
|
2016-09-30 03:58:27 +00:00
|
|
|
postgresql_unix_socket_directories:
|
|
|
|
- /var/run/postgresql
|
2016-09-30 01:01:39 +00:00
|
|
|
|
2016-09-30 03:58:27 +00:00
|
|
|
# Global configuration options that will be set in postgresql.conf.
|
2016-09-30 03:37:00 +00:00
|
|
|
postgresql_global_config_options:
|
2016-09-30 03:58:27 +00:00
|
|
|
- option: unix_socket_directories
|
|
|
|
value: '{{ postgresql_unix_socket_directories | join(",") }}'
|
2016-09-30 03:37:00 +00:00
|
|
|
|
2016-09-30 03:05:15 +00:00
|
|
|
# Debian only. Used to generate the locales used by PostgreSQL databases.
|
|
|
|
postgresql_locales:
|
|
|
|
- 'en_US.UTF-8'
|
|
|
|
|
2016-09-29 16:03:13 +00:00
|
|
|
# Databases to ensure exist.
|
|
|
|
postgresql_databases: []
|
|
|
|
# - name: example
|
|
|
|
# lc_collate: 'en_US.UTF-8' # optional
|
|
|
|
# lc_ctype: 'en_US.UTF-8' # optional
|
|
|
|
# encoding: 'UTF-8' # optional
|
2016-09-29 20:06:34 +00:00
|
|
|
# login_host: example.com # optional, defaults to 'localhost'
|
|
|
|
# login_password: supersecure # optional
|
2016-09-30 01:01:39 +00:00
|
|
|
# login_user: admin # optional, defaults to "{{ postgresql_user }}"
|
2016-09-29 20:06:34 +00:00
|
|
|
# port: 5432 # optional
|
|
|
|
# state: present # optional, defaults to 'present'
|
2016-09-29 16:03:13 +00:00
|
|
|
|
|
|
|
# Users to ensure exist.
|
|
|
|
postgresql_users: []
|
|
|
|
# - name: jdoe
|
|
|
|
# password: supersecure # optional
|
|
|
|
# login_host: example.com # optional, defaults to 'localhost'
|
|
|
|
# login_password: supersecure # optional
|
2016-09-30 01:01:39 +00:00
|
|
|
# login_user: admin # optional, defaults to "{{ postgresql_user }}"
|
2016-09-29 16:03:13 +00:00
|
|
|
# port: 1234 # optional, defaults to 5432
|
|
|
|
# priv: table:priv1,priv2 # optional
|
|
|
|
# role_attr_flags: CREATEDB,NOSUPERUSER # optional
|
|
|
|
# state: present # optional
|