try it this way

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-01-11 21:28:54 +00:00
parent 75e1108b33
commit a3b14f235c
2 changed files with 2 additions and 2 deletions

View file

@ -10,4 +10,4 @@ rm -f GeoLite2-Country-CSV.zip csvs/*
wget -q -T 5 -t 1 https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
unzip -j GeoLite2-Country-CSV.zip -d csvs/
python geoip.py csvs/GeoLite2-Country-Blocks-IPv4.csv csvs/GeoLite2-Country-Blocks-IPv6.csv csvs/GeoLite2-Country-Locations-en.csv > /var/named/GeoIP.acl
geoip.py csvs/GeoLite2-Country-Blocks-IPv4.csv csvs/GeoLite2-Country-Blocks-IPv6.csv csvs/GeoLite2-Country-Locations-en.csv > /var/named/GeoIP.acl

View file

@ -36,7 +36,7 @@
- dns
- name: copy geoip.py
copy: src=geoip.py dest=/var/named/geoip.py mode=0755
copy: src=geoip.py dest=/usr/local/bin/geoip.py mode=0755
notify:
- restart named
tags: