From df791207b7385e0f461925f92b30c9b48e602bcb Mon Sep 17 00:00:00 2001 From: Nicolas Boutet Date: Thu, 19 Sep 2024 09:10:33 +0200 Subject: [PATCH] Fix GeoIP setup --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 5d85a5b..ca4b589 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -22,12 +22,12 @@ - name: Setup GeoIP config ansible.builtin.template: src: "geoip/GeoIP.conf.j2" - dest: "{{ sentry_install_dir }}/{{ item }}" + dest: "{{ sentry_install_dir }}/GeoIP.conf" owner: root group: root mode: "0644" when: - - sentry_geoip_account_id | length > 0 + - sentry_geoip_account_id - sentry_geoip_license_key | length > 0 - name: Setup .env.custom file