boutetnico.geoipupdate
ansible-role-geoipupdate
Ce rôle installe et configure Maxmind Geoipupdate.
Exigences
Ansible 2.10 ou version plus récente.
Plates-formes prises en charge
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Variables du rôle
Variable | Requis | Par défaut | Choix | Commentaires |
---|---|---|---|---|
geoipupdate_dependencies | oui | [cron] |
liste | |
geoipupdate_version | oui | 7.0.1 |
chaîne | |
geoipupdate_arch | oui | détecté automatiquement | chaîne | |
geoipupdate_path | oui | /usr/local/bin/geoipupdate |
chaîne | |
geoipupdate_config_file | oui | /usr/local/etc/GeoIP.conf |
chaîne | |
geoipupdate_account_id | oui | 0 |
chaîne | |
geoipupdate_license_key | oui | 000000000000 |
chaîne | |
geoipupdate_edition_ids | oui | [GeoLite2-Country, GeoLite2-City] |
liste | Bases de données à installer. |
geoipupdate_database_directory | oui | /usr/local/share/GeoIP |
chaîne | |
geoipupdate_host | oui | updates.maxmind.com |
chaîne | |
geoipupdate_proxy | non | chaîne | ||
geoipupdate_proxy_user_password | non | chaîne | ||
geoipupdate_preserve_file_times | oui | 0 |
int | |
geoipupdate_lock_file | oui | DATADIR/.geoipupdate.lock |
chaîne | |
geoipupdate_cron_state | oui | present |
chaîne | |
geoipupdate_cron_user | oui | root |
chaîne | |
geoipupdate_cron_special_time | oui | weekly |
chaîne | |
geoipupdate_cron_day | non | int | ||
geoipupdate_cron_hour | non | int | ||
geoipupdate_cron_minute | non | int | ||
geoipupdate_cron_month | non | int | ||
geoipupdate_cron_weekday | non | int |
Dépendances
Aucune
Exemple de Playbook
- hôtes: tous
rôles:
- ansible-role-geoipupdate
geoipupdate_account_id: 123
geoipupdate_license_key: "ABCDEF"
Tests
molecule test
Licence
MIT
Informations sur l'auteur
Installer
ansible-galaxy install boutetnico.geoipupdate
Licence
mit
Téléchargements
86
Propriétaire
System Engineer