geoipupdate
ansible-role-geoipupdate
This role installs and configures Maxmind Geoipupdate.
Requirements
Ansible 2.10 or newer.
Supported Platforms
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Role Variables
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
geoipupdate_dependencies | yes | [cron] |
list | |
geoipupdate_version | yes | 7.0.1 |
string | |
geoipupdate_arch | yes | detected automatically | string | |
geoipupdate_path | yes | /usr/local/bin/geoipupdate |
string | |
geoipupdate_config_file | yes | /usr/local/etc/GeoIP.conf |
string | |
geoipupdate_account_id | yes | 0 |
string | |
geoipupdate_license_key | yes | 000000000000 |
string | |
geoipupdate_edition_ids | yes | [GeoLite2-Country, GeoLite2-City] |
list | Databases to install. |
geoipupdate_database_directory | yes | /usr/local/share/GeoIP |
string | |
geoipupdate_host | yes | updates.maxmind.com |
string | |
geoipupdate_proxy | no | string | ||
geoipupdate_proxy_user_password | no | string | ||
geoipupdate_preserve_file_times | yes | 0 |
int | |
geoipupdate_lock_file | yes | DATADIR/.geoipupdate.lock |
string | |
geoipupdate_cron_state | yes | present |
string | |
geoipupdate_cron_user | yes | root |
string | |
geoipupdate_cron_special_time | yes | weekly |
string | |
geoipupdate_cron_day | no | int | ||
geoipupdate_cron_hour | no | int | ||
geoipupdate_cron_minute | no | int | ||
geoipupdate_cron_month | no | int | ||
geoipupdate_cron_weekday | no | int |
Dependencies
None
Example Playbook
- hosts: all
roles:
- ansible-role-geoipupdate
geoipupdate_account_id: 123
geoipupdate_license_key: "ABCDEF"
Testing
molecule test
License
MIT
Author Information
Install
ansible-galaxy install boutetnico/ansible-role-geoipupdate
License
mit
Downloads
63
Owner
System Engineer