ansible-role-postgresql/tasks/postgis.yml

14 lines
525 B
YAML
Raw Normal View History

2020-06-03 19:53:13 +02:00
---
2020-07-30 14:14:39 +02:00
- name: install the postgresql GIS packages on deb/ubuntu
2020-06-03 19:53:13 +02:00
apt: pkg={{ postgres_gis_pkgs }} state={{ psql_pkg_state }} cache_valid_time=3600
notify: Restart postgresql
2020-07-30 14:14:39 +02:00
when: ansible_distribution_file_variety == "Debian"
tags: [ 'postgresql', 'postgres', 'postgis' ]
- name: install the postgresql GIS packages on EL
yum: pkg={{ postgres_el_gis_pkgs }} state={{ psql_pkg_state }}
notify: Restart postgresql
when: ansible_distribution_file_variety == "RedHat"
2020-06-03 19:53:13 +02:00
tags: [ 'postgresql', 'postgres', 'postgis' ]