mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
4
roles/geoipupdate/templates/GeoIP.conf.j2
Normal file
4
roles/geoipupdate/templates/GeoIP.conf.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
# {{ ansible_managed }}
|
||||
AccountID {{ geoip_account_id | default('0000000') }}
|
||||
LicenseKey {{ geoip_license_key | default('00000000') }}
|
||||
EditionIDs {{ geoip_edition_ids | join(' ') }}
|
7
roles/geoipupdate/templates/geoipupdate.service.j2
Normal file
7
roles/geoipupdate/templates/geoipupdate.service.j2
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Update MaxMind GeoIP databases
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/geoipupdate
|
||||
TimeoutSec=600
|
9
roles/geoipupdate/templates/geoipupdate.timer.j2
Normal file
9
roles/geoipupdate/templates/geoipupdate.timer.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update MaxMind GeoIP databases
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
Persistent=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user