18 lines
605 B
YAML
18 lines
605 B
YAML
---
|
|
- name: postgis | Install the postgresql GIS packages on deb/ubuntu
|
|
ansible.builtin.apt:
|
|
pkg: "{{ postgres_gis_pkgs }}"
|
|
state: "{{ psql_pkg_state }}"
|
|
cache_valid_time: 3600
|
|
notify: Restart postgresql
|
|
when: ansible_distribution_file_variety == "Debian"
|
|
tags: ['postgresql', 'postgres', 'postgis']
|
|
|
|
- name: postgis | Install the postgresql GIS packages on EL
|
|
ansible.builtin.yum:
|
|
pkg: "{{ postgres_el_gis_pkgs }}"
|
|
state: "{{ psql_pkg_state }}"
|
|
notify: Restart postgresql
|
|
when: ansible_distribution_file_variety == "RedHat"
|
|
tags: ['postgresql', 'postgres', 'postgis']
|