Skip to content

Commit 0fdb4e3

Browse files
authored
Make myconext geoip location configurable (#541)
1 parent 97f19b3 commit 0fdb4e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

environments/template/group_vars/template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ myconext:
303303
- { name: "privacy_policy" , url: "https://example.org/x/MIzaAQ" }
304304
- { name: "terms_of_service" , url: "https://example.org/x/LozaAQ"}
305305
- { name: "voorwaarden" , url: "https://example.org/x/HYzaAQ"}
306+
geo_location_ external_url: "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={license_key}&suffix=tar.gz"
306307

307308
monitoring_tests:
308309
metadata_sp_url: "{{ monitoring_tests_metadata_sp_url }}"

roles/myconext/templates/application.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ geo_location:
242242
# Use either max_mind or mock
243243
service: max_mind
244244
license_key: {{ myconext_geo2lite_license_key }}
245-
external_url: "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={license_key}&suffix=tar.gz"
245+
external_url: {{ myconext.geo_location_external_url }}
246246
download_directory: "/config/geo2lite"
247247

248248
# Signicat configuration

0 commit comments

Comments
 (0)