Skip to content
Snippets Groups Projects
Commit 09fffc64 authored by ale's avatar ale
Browse files

Do not install geoipupdate unless geoip_account_id is defined

This should make it possible to set up an environment successfully
without setting up geoipupdate.
parent 7e37a32b
Branches
No related tags found
1 merge request!305Do not install geoipupdate unless geoip_account_id is defined
Pipeline #79243 passed
......@@ -4,5 +4,6 @@
apt:
name: geoipupdate
state: present
when: geoip_account_id is defined
......@@ -16,3 +16,5 @@
dest: "/etc/cron.d/geoipupdate_{{ item }}"
content: "12 0 * * 5 root /usr/local/bin/splay 3600 && /usr/bin/geoipupdate -f /etc/GeoIP_{{ item }}.conf\n"
with_items: "{{ geoip_dataset }}"
when: geoip_account_id is defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment