boutetnico.geoipupdate
ansible-role-geoipupdate
Este rol instala y configura Maxmind Geoipupdate.
Requisitos
Ansible 2.10 o más reciente.
Plataformas Soportadas
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Variables del Rol
| Variable | Requerido | Por Defecto | Opciones | Comentarios |
|---|---|---|---|---|
| geoipupdate_dependencies | sí | [cron] |
lista | |
| geoipupdate_version | sí | 7.0.1 |
cadena | |
| geoipupdate_arch | sí | detectado automáticamente | cadena | |
| geoipupdate_path | sí | /usr/local/bin/geoipupdate |
cadena | |
| geoipupdate_config_file | sí | /usr/local/etc/GeoIP.conf |
cadena | |
| geoipupdate_account_id | sí | 0 |
cadena | |
| geoipupdate_license_key | sí | 000000000000 |
cadena | |
| geoipupdate_edition_ids | sí | [GeoLite2-Country, GeoLite2-City] |
lista | Bases de datos a instalar. |
| geoipupdate_database_directory | sí | /usr/local/share/GeoIP |
cadena | |
| geoipupdate_host | sí | updates.maxmind.com |
cadena | |
| geoipupdate_proxy | no | cadena | ||
| geoipupdate_proxy_user_password | no | cadena | ||
| geoipupdate_preserve_file_times | sí | 0 |
int | |
| geoipupdate_lock_file | sí | DATADIR/.geoipupdate.lock |
cadena | |
| geoipupdate_cron_state | sí | present |
cadena | |
| geoipupdate_cron_user | sí | root |
cadena | |
| geoipupdate_cron_special_time | sí | weekly |
cadena | |
| 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 |
Dependencias
Ninguna
Ejemplo de Playbook
- hosts: all
roles:
- ansible-role-geoipupdate
geoipupdate_account_id: 123
geoipupdate_license_key: "ABCDEF"
Pruebas
molecule test
Licencia
MIT
Información del Autor
Instalar
ansible-galaxy install boutetnico.geoipupdateLicencia
mit
Descargas
518
Propietario
Systems Engineer
