We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9deddf9 commit 0a824f2Copy full SHA for 0a824f2
tasks/extensions/postgis.yml
@@ -1,14 +1,16 @@
1
# file: postgresql/tasks/extensions/postgis.yml
2
3
+- include_vars: "{{ item }}"
4
+ with_first_found:
5
+ - "../vars/{{ ansible_distribution_release }}.yml"
6
+ - "../vars/empty.yml"
7
+
8
- name: PostgreSQL | Extensions | Make sure the postgis extensions are installed
9
apt:
10
name: "{{item}}"
11
state: present
12
update_cache: yes
13
cache_valid_time: "{{apt_cache_valid_time | default (3600)}}"
- with_items:
- - libgeos-c1
- - "postgresql-{{postgresql_version}}-postgis-{{postgresql_ext_postgis_version}}"
- - "postgresql-{{postgresql_version}}-postgis-scripts"
14
+ with_items: "{{ postgresql_ext_postgis_deps }}"
15
notify:
16
- restart postgresql
0 commit comments