You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Major version of PostgreSQL to install/configure. Ignored on FreeBSD Proservers (version is determined by the system).
int
no
13
prefix
dict of 'prefix' options
no
users
Dict of PostgreSQL users to create (key is an arbitrary id, value defines the user). Values should contain: username (str), password (str, optional), role_attributes (dict, optional), hosts (list, optional).
dict
no
privileges
Dict of privileges to assign (key is arbitrary id). Each entry grants a role access to a database or object. Values should contain: username (str), database (str), type (str, default: table), objs (str, optional), schema (str, optional), privs (list).
dict
no
databases
Dict of databases to create (key is arbitrary id). At least the root database entry is required by defaults. Values should contain: name (str), owner (str), encoding (str, optional), lc_collate (str, optional), lc_ctype (str, optional), template (str, optional), import_file (path, optional).
dict
no
database_defaults
Defaults applied to database creation when not set per-database.
dict of 'database_defaults' options
no
postgresql.conf
Key-value options written to the role-managed include file (ansible.conf), included from postgresql.conf. Consult PostgreSQL documentation for valid settings.
dict
no
repository
Package repository used to install PostgreSQL (Linux/Debian).
dict of 'repository' options
no
timescaledb
TimescaleDB installation and tuning (Linux/Debian only).
dict of 'timescaledb' options
no
Options for postgresql.prefix
Option
Description
Type
Required
Default
config
Directory for PostgreSQL configuration (e.g. pg_hba.conf, postgresql.conf include). Defaults depend on system; see defaults/main.yaml (e.g. /etc/postgresql/{{ postgresql.version }}/main/conf.d on Linux).