Skip to content

Commit

Permalink
Merge pull request #64 from mila-iqia/Bypassing-the-Geo-API-key
Browse files Browse the repository at this point in the history
Bypassing GeoIP API key
  • Loading branch information
natefoo authored Jan 2, 2025
2 parents 5aea963 + 57c7a76 commit 0a21b10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/stratum1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
dest: /etc/cvmfs/server.local
when: cvmfs_geo_license_key is defined

- name: Bypassing GeoIP API key
ansible.builtin.copy:
content: |
CVMFS_GEO_DB_FILE=NONE
mode: 0400
dest: /etc/cvmfs/server.local
when: cvmfs_geo_license_key is not defined

- name: Ensure replicas are configured
ansible.builtin.command: >-
/usr/bin/cvmfs_server add-replica -o {{ item.owner | default('root') }}
Expand Down

0 comments on commit 0a21b10

Please sign in to comment.