You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
818 B

9 years ago
---
# Development headers and libraries
# ---------------------------------
- name: Install development headers
when: postgresql_dev_headers == True
sudo: yes
apt:
name: libpq-dev
tags:
- postgresql
- db
- deps
- dev
# Contributed extensions
# ----------------------
- name: Install PostgreSQL contribs
when: postgresql_contrib
sudo: yes
apt:
name: "postgresql-contrib-{{postgresql_version}}"
notify: restart postgresql
tags:
- postgresql
- db
- deps
# PostGIS
# -------
- name: Add postgis extensions
when: postgresql_postgis
sudo: yes
apt:
name: "{{item}}"
with_items:
- "postgresql-{{postgresql_version}}-postgis-{{postgresql_postgis_version}}"
- libgeos-c1
notify: restart postgresql
tags:
- postgresql
- db
- deps