add geoip syncing to all of this
This commit is contained in:
parent
c1a4d9889a
commit
ad90b322cd
3 changed files with 14 additions and 1 deletions
|
@ -45,6 +45,7 @@
|
|||
- include: $tasks/nagios_client.yml
|
||||
- include: $tasks/apache.yml
|
||||
- include: $tasks/mod_wsgi.yml
|
||||
- include: $tasks/geoip.yml
|
||||
- include: $tasks/mirrorlist.yml
|
||||
|
||||
|
||||
|
|
13
tasks/geoip.yml
Normal file
13
tasks/geoip.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
# install python-geoIP
|
||||
- name: install python-geoIP
|
||||
yum: name=mod_python-geoIP state=installed
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: push over the geoip db once
|
||||
copy: src=$item dest=/usr/share/GeoIP/$item
|
||||
with_fileglob: $bigfiles/hotfixes/geoip/*.dat
|
||||
|
||||
- name: setup cron job to suck down these files
|
||||
cron: cron_file=geoip_sync name=geoip_sync state=present minute=0 hour=1 day=4 user=root
|
|
@ -13,4 +13,3 @@
|
|||
- config
|
||||
|
||||
|
||||
# hotfix: hash_randomization? - to httpd?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue