Add install PostGIS in postgresql rôle
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
20191c8873
commit
1bf271a4f4
|
@ -13,3 +13,6 @@ postgresql_version: '9.6'
|
|||
|
||||
# Set locales
|
||||
locales_default: fr_FR.UTF-8
|
||||
|
||||
# PostGIS
|
||||
postgresql_install_postgis: false
|
||||
|
|
|
@ -17,3 +17,6 @@
|
|||
- include: munin.yml
|
||||
|
||||
- include: logrotate.yml
|
||||
|
||||
- include: postgis.yml
|
||||
when: postgresql_install_postgis == "true"
|
||||
|
|
5
postgresql/tasks/postgis.yml
Normal file
5
postgresql/tasks/postgis.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install PostGIS extention
|
||||
apt:
|
||||
name: postgis
|
||||
state: present
|
Loading…
Reference in a new issue