Skip to content

Commit c859c48

Browse files
authored
Fix for license default location (#649)
1 parent 4770402 commit c859c48

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ansible/roles/collectory/templates/config/collectory-config.properties

+4
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ gbifApiPassword={{ gbif_api_password | default('') }}
144144
gbifExportUrlBase={{ gbif_export_url_base | default('') }}
145145
useGbifDoi={{ gbif_use_doi | default('false') }}
146146
gbifRegistrationDryRun={{ gbif_registration_dry_run | default('true') }}
147+
{% if collectory_version is version('3.0.0', '<') %}
147148
gbifLicenceMappingUrl={{ gbif_licence_mapping_url | default('file:///data/ala-collectory/config/default-gbif-licence-mapping.json') }}
149+
{% else %}
150+
gbifLicenceMappingUrl={{ gbif_licence_mapping_url | default('file:///data/collectory/config/default-gbif-licence-mapping.json') }}
151+
{% endif %}
148152
gbifOrphansPublisherID={{ gbif_orphans_publisher_id | default('') }}
149153
# Use https://www.gbif-uat.org during testing/development
150154
gbifWebsite={{ gbif_website | default('https://www.gbif.org') }}

0 commit comments

Comments
 (0)