---

- include: pgdg-repo.yml
  when: postgresql_version != '9.4'

- name: Install postgresql package
  apt:
    name: '{{item}}'
  with_items:
  - "postgresql-{{postgresql_version}}"
  - ptop
  - libdbd-pg-perl
