Skip to content

Commit 57c7a76

Browse files
authored
Bypassing GeoIP API key
Bypass the "CVMFS_GEO_LICENSE_KEY not set" error message produced by cvmfs_server add-replica by setting the server variable "CVMFS_GEO_DB_FILE to NONE" .
1 parent 8a0f105 commit 57c7a76

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tasks/stratum1.yml

+8
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@
4343
dest: /etc/cvmfs/server.local
4444
when: cvmfs_geo_license_key is defined
4545

46+
- name: Bypassing GeoIP API key
47+
ansible.builtin.copy:
48+
content: |
49+
CVMFS_GEO_DB_FILE=NONE
50+
mode: 0400
51+
dest: /etc/cvmfs/server.local
52+
when: cvmfs_geo_license_key is not defined
53+
4654
- name: Ensure replicas are configured
4755
ansible.builtin.command: >-
4856
/usr/bin/cvmfs_server add-replica -o {{ item.owner | default('root') }}

0 commit comments

Comments
 (0)