diff --git a/tasks/configure.yml b/tasks/configure.yml index 03cb7f3b92ffeb7e4cdcb3ff951c703dd084fbd3..bee426ba2edb563fadd0792165fc972dddc79613 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -53,21 +53,6 @@ group=root mode=444 -- name: "Proxy | Install update script" - template: src=update_sh - dest=/etc/haproxy/update/update.sh - owner=root - group=root - mode=700 - -- name: "Proxy | Install update cron" - cron: name='Update S-Verein Homepage Domains' - month='*' - day='*' - hour='*' - minute='*/1' - job='/etc/haproxy/update/update.sh >/dev/null 2>&1' - - name: "Proxy | Update blacklist" template: src=blacklist dest=/etc/haproxy/blacklist diff --git a/templates/update_sh b/templates/update_sh deleted file mode 100644 index 6708641a3e71baca16039c5617c0c3c7f1139ead..0000000000000000000000000000000000000000 --- a/templates/update_sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -rm -Rf /tmp/haproxy_update -mkdir /tmp/haproxy_update -php /etc/haproxy/update/update.php 127.0.0.1 8011 root root crm /tmp/haproxy_update {{inventory_hostname}} -rc=$? -if [ $rc == 99 ] - then - cp /tmp/haproxy_update/* /etc/haproxy - service haproxy restart -fi