Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boutetnico/ansible-role-geoipupdate
Install and configure Maxmind Geoipupdate with Ansible.
https://github.com/boutetnico/ansible-role-geoipupdate
ansible debian geoip geoipupdate maxmind maxmind-geoipupdate ubuntu
Last synced: about 4 hours ago
JSON representation
Install and configure Maxmind Geoipupdate with Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-geoipupdate
- Owner: boutetnico
- License: mit
- Created: 2019-12-26T16:24:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T01:33:05.000Z (7 months ago)
- Last Synced: 2024-04-09T02:37:41.455Z (7 months ago)
- Topics: ansible, debian, geoip, geoipupdate, maxmind, maxmind-geoipupdate, ubuntu
- Language: Jinja
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![tests](https://github.com/boutetnico/ansible-role-geoipupdate/workflows/Test%20ansible%20role/badge.svg)](https://github.com/boutetnico/ansible-role-geoipupdate/actions?query=workflow%3A%22Test+ansible+role%22)
[![Ansible Galaxy](https://img.shields.io/badge/galaxy-boutetnico.geoipupdate-blue.svg)](https://galaxy.ansible.com/boutetnico/geoipupdate)ansible-role-geoipupdate
========================This role installs and configures [Maxmind Geoipupdate](https://github.com/maxmind/geoipupdate).
Requirements
------------Ansible 2.10 or newer.
Supported Platforms
-------------------- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)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
------------------[@boutetnico](https://github.com/boutetnico)