Postgresql installation.
You must provide your own pg_hba.conf.j2
and postgresql.conf.j2
templates.
postgresql_version
is a postgresql version number, e.g.9.5
.postgresql_package_version
is an exact package version, e.g.9.5.3-1.pgdg14.04+1
.postgresql_hba_template
is a path topg_hba.conf
template within current playbook.postgresql_conf_template
is a path topostgresql.conf
template within current playbook.
None.
- hosts: servers
roles:
- role: pkorobeinikov.postgresql
postgresql_version: 9.5
postgresql_package_version: 9.5.3-1.pgdg14.04+1
postgresql_hba_template: postgresql/pg_hba.conf.j2
postgresql_conf_template: postgresql/postgresql.conf.j2
BSD, MIT