mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
16 lines
350 B
YAML
16 lines
350 B
YAML
---
|
|
# install python-geoIP
|
|
- name: install python-GeoIP
|
|
yum: name=python-GeoIP state=installed
|
|
tags:
|
|
- packages
|
|
|
|
- name: push over the geoip db once
|
|
copy: src=$item dest=/usr/share/GeoIP/
|
|
with_fileglob: $bigfiles/geoip/*.dat
|
|
|
|
- name: geoip syncing script via cron
|
|
copy: src=$files/geoip/geoip_sync dest=/etc/cron.d/geoip_sync mode=0644
|
|
|
|
|