boutetnico.geoipupdate
ansible-role-geoipupdate
Ta rola instaluje i konfiguruje Maxmind Geoipupdate.
Wymagania
Ansible 2.10 lub nowszy.
Obsługiwane platformy
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Zmienne roli
Zmienna | Wymagana | Domyślna wartość | Możliwości | Uwagi |
---|---|---|---|---|
geoipupdate_dependencies | tak | [cron] |
lista | |
geoipupdate_version | tak | 7.0.1 |
ciąg | |
geoipupdate_arch | tak | wykryte automatycznie | ciąg | |
geoipupdate_path | tak | /usr/local/bin/geoipupdate |
ciąg | |
geoipupdate_config_file | tak | /usr/local/etc/GeoIP.conf |
ciąg | |
geoipupdate_account_id | tak | 0 |
ciąg | |
geoipupdate_license_key | tak | 000000000000 |
ciąg | |
geoipupdate_edition_ids | tak | [GeoLite2-Country, GeoLite2-City] |
lista | Bazy danych do zainstalowania. |
geoipupdate_database_directory | tak | /usr/local/share/GeoIP |
ciąg | |
geoipupdate_host | tak | updates.maxmind.com |
ciąg | |
geoipupdate_proxy | nie | ciąg | ||
geoipupdate_proxy_user_password | nie | ciąg | ||
geoipupdate_preserve_file_times | tak | 0 |
int | |
geoipupdate_lock_file | tak | DATADIR/.geoipupdate.lock |
ciąg | |
geoipupdate_cron_state | tak | present |
ciąg | |
geoipupdate_cron_user | tak | root |
ciąg | |
geoipupdate_cron_special_time | tak | weekly |
ciąg | |
geoipupdate_cron_day | nie | int | ||
geoipupdate_cron_hour | nie | int | ||
geoipupdate_cron_minute | nie | int | ||
geoipupdate_cron_month | nie | int | ||
geoipupdate_cron_weekday | nie | int |
Zależności
Brak
Przykładowy playbook
- hosts: all
roles:
- ansible-role-geoipupdate
geoipupdate_account_id: 123
geoipupdate_license_key: "ABCDEF"
Testowanie
molecule test
Licencja
MIT
Informacje o autorze
Zainstaluj
ansible-galaxy install boutetnico.geoipupdate
Licencja
mit
Pobrania
86
Właściciel
System Engineer