An open API service indexing awesome lists of open source software.

https://github.com/zaiste/ansible-postgresql

Ansible role that installs PostgreSQL for Debian/Ubuntu from the official APT.
https://github.com/zaiste/ansible-postgresql

ansible ansible-role postgresql ubuntu

Last synced: about 2 months ago
JSON representation

Ansible role that installs PostgreSQL for Debian/Ubuntu from the official APT.

Awesome Lists containing this project

README

          

# ansible-postgresql

Ansible role that installs PostgreSQL for Ubuntu using the official APT. By
default it supports Ubuntu 18.04 (Bionic Beaver).

## Requirements

None.

## Role Variables

- `dist` defaults to `bionic`
- `databases` is a list; it defaults to `app` database owned by `app` user with `app` password (check the example playbook below)

## Dependencies

None.

## Example Playbook

```yml
- hosts: servers
roles:
- role: zaiste.postgresql
databases:
- name: app
owner: app
password: secr3t
extensions:
- hstore
- name: data
owner: app
extensions:
- hstore
- isn
```

## License

MIT / BSD

## Author Information

[Zaiste](http://zaiste.net) 2018