Skip to content

codeyourinfra/postgres

Repository files navigation

postgres

License: MIT GitHub release Build status Ansible Role Ansible Role downloads

Ansible role to install PostreSQL.

Example Playbook

---
- hosts: servers
  roles:
    - codeyourinfra.postgres

The role requires the ansible_distribution_release variable, obtained through the gathering facts phase. So please don't turn off facts.

Build process

The build process is performed in Travis CI. During the build, the role is tested by using Molecule.

Test yourself

Inside your Python virtual environment, run:

pip install -r requirements.txt

And then:

molecule test

Author Information

@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)