diff --git a/roles/deploy-web/files/blacklist.sh b/roles/deploy-web/files/blacklist.sh index e35df99..4321bd0 100755 --- a/roles/deploy-web/files/blacklist.sh +++ b/roles/deploy-web/files/blacklist.sh @@ -50,7 +50,8 @@ do for i in ${list_ip[@]} do echo ${i} >> ${MAIL} - curl http://ipinfo.ip/${i} >> ${MAIL} + curl http://ipinfo.io/${i} >> ${MAIL} + echo "" >> ${MAIL} echo ${i} >> ${BLACKLIST} done echo "IP dejà blacklisté : " >> ${MAIL}