Modular Ansible Role for deploying and configuring PostgreSQL
- CentOS 7.x or later
- Debian 9 or later
- Ubuntu 16.04 LTS or later
None.
Available variables are listed below with their default values (you can also see defaults/main.yml
)
Variable | Description |
---|---|
postgres_package | Default: postgresql-server |
postgres_data_dir | Default: /var/lib/pgsql/data |
postgres_conf_dir | Default: /var/lib/pgsql/data (Same as postgres_data_dir) |
postgres_user | Default: postgres |
- hosts: www
roles:
- role: inmotionhosting.postgresql
GPLv3