Add install PostGIS in postgresql rôle
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Eric Morino 2019-12-26 16:15:31 +01:00
parent 20191c8873
commit 1bf271a4f4
3 changed files with 12 additions and 1 deletions

View File

@ -11,5 +11,8 @@ postgresql_effective_cache_size: "{{ (ansible_memtotal_mb * 0.5) | int }}MB"
# PostgreSQL version
postgresql_version: '9.6'
#Set locales
# Set locales
locales_default: fr_FR.UTF-8
# PostGIS
postgresql_install_postgis: false

View File

@ -17,3 +17,6 @@
- include: munin.yml
- include: logrotate.yml
- include: postgis.yml
when: postgresql_install_postgis == "true"

View File

@ -0,0 +1,5 @@
---
- name: Install PostGIS extention
apt:
name: postgis
state: present