Skip to content

Commit

Permalink
SDS extra configuration (#550)
Browse files Browse the repository at this point in the history
* Extra SDS configuration variables

* Restore tag
  • Loading branch information
vjrj authored Mar 4, 2022
1 parent 75ea0b7 commit 69834c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ sds.enabled={{ sds_enabled | default('false') }}

# SDS data file
sds.url={{ biocache_sds_url | default('https://sds.ala.org.au') }}
sds.species.data={{ biocache_sds_url | default('https://sds.ala.org.au') }}/sensitive-species-data.xml
sds.category.data={{ biocache_sds_url | default('https://sds.ala.org.au') }}/sensitivity-categories.xml
sds.zone.data={{ biocache_sds_url | default('https://sds.ala.org.au') }}/sensitivity-zones.xml
sds.spatial.layers={{ sds_spatial_layers | default('cl932,cl927,cl23,cl937,cl941,cl938,cl939,cl936,cl940,cl963,cl962,cl961,cl960,cl964,cl965,cl22,cl10925') }}

# The directory to write files to while ingesting data
load.dir={{ data_dir }}/biocache-load/
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/sds/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
- properties

- name: Copy sensitivity categories XML
copy: src="sensitivity-categories.xml" dest="{{data_dir}}/sds/sensitivity-categories.xml"
copy: src="{{ sensitivity_categories_file | default ('sensitivity-categories.xml') }}" dest="{{data_dir}}/sds/sensitivity-categories.xml"
tags:
- sds
- properties

- name: Copy sensitivity zones XML
copy: src="sensitivity-zones.xml" dest="{{data_dir}}/sds/sensitivity-zones.xml"
copy: src="{{ sensitivity_zones_file | default ('sensitivity-zones.xml') }}" dest="{{data_dir}}/sds/sensitivity-zones.xml"
tags:
- sds
- properties
Expand Down

0 comments on commit 69834c4

Please sign in to comment.