Ansible Galaxy role for PostgreSQL.
This role does the installation from the PostgreSQL apt repository. Once installed, there is no config done. It is supposed to be done via ansible-pull from a private repository.
The use of this role is mainly to provide an easy way to build a Docker container with PostgreSQL installed. The configuration its made upon deploy.
Ansible 1.4.2 or higher.
- Default installation
- hosts: database
roles: jllopis.postgres
- Specifying PostgreSQL version
- hosts: database
roles: jllopis.postgres
pgversion: "9.3"