boutetnico.geoipupdate

测试 Ansible Galaxy

ansible-role-geoipupdate

此角色安装并配置 Maxmind Geoipupdate

要求

需要 Ansible 2.10 或更新版本。

支持的平台

角色变量

变量 必需 默认值 选项 备注
geoipupdate_dependencies [cron] 列表
geoipupdate_version 7.0.1 字符串
geoipupdate_arch 自动检测 字符串
geoipupdate_path /usr/local/bin/geoipupdate 字符串
geoipupdate_config_file /usr/local/etc/GeoIP.conf 字符串
geoipupdate_account_id 0 字符串
geoipupdate_license_key 000000000000 字符串
geoipupdate_edition_ids [GeoLite2-Country, GeoLite2-City] 列表 要安装的数据库。
geoipupdate_database_directory /usr/local/share/GeoIP 字符串
geoipupdate_host updates.maxmind.com 字符串
geoipupdate_proxy 字符串
geoipupdate_proxy_user_password 字符串
geoipupdate_preserve_file_times 0 整数
geoipupdate_lock_file DATADIR/.geoipupdate.lock 字符串
geoipupdate_cron_state present 字符串
geoipupdate_cron_user root 字符串
geoipupdate_cron_special_time weekly 字符串
geoipupdate_cron_day 整数
geoipupdate_cron_hour 整数
geoipupdate_cron_minute 整数
geoipupdate_cron_month 整数
geoipupdate_cron_weekday 整数

依赖关系

示例剧本

- hosts: all
  roles:
    - ansible-role-geoipupdate
      geoipupdate_account_id: 123
      geoipupdate_license_key: "ABCDEF"

测试

molecule test

许可证

MIT

作者信息

@boutetnico

关于项目

Install Maxmind Geoipupdate.

安装
ansible-galaxy install boutetnico.geoipupdate
许可证
mit
下载
86
拥有者
System Engineer