palkan-ansible.postgresql
PostgreSQL
Installs PostgreSQL and setup db user and databases (if provided).
Installation
ansible-galaxy install palkan.postgresql
Role Variables
defaults/main.yml
| Name | Default Value | Description |
|---|---|---|
| postgresql_version | 9.5 | |
| postgresql_hba | pg_hba.conf.j2 | |
| postgresql_config | postgresql.conf.j2 | |
| postgresql_ram_shared | 512 | To use with default config |
| postgresql_ram_cache | 256 | To use with default config |
| postgresql_db_user | - | DB user name (optional) |
| postgresql_db_user_flag | CREATEDB,NOSUPERUSER | DB user privileges (optional) |
| postgresql_db_user_pass | - | DB user pass (plain) (optional) |
| postgresql_databases | - | List of databases to create (optional) |
Example Playbook
- hosts: servers
roles:
- palkan.postgresql
Install
ansible-galaxy install palkan-ansible.postgresqlLicense
Unknown
Downloads
281
Owner
