From 93b1f53a7c090a78649329a50f59c43735cfa9b6 Mon Sep 17 00:00:00 2001 From: stebifan Date: Thu, 4 Aug 2016 20:35:25 +0200 Subject: [PATCH] Update install.sn.yml --- install.sn.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sn.yml b/install.sn.yml index 30857f5..11d091f 100644 --- a/install.sn.yml +++ b/install.sn.yml @@ -208,9 +208,9 @@ template: src=./files/keepalive.exit.sh.j2 dest=/opt/freifunk/keepalive.sh owner=root group=root mode=0500 register: check_gw when: sn_exit is defined -# - name: Add cron job with check gateway script -# cron: name=check_gw special_time=reboot job="/opt/freifunk/keepalive.sh > /dev/null 2>&1 &" user="root" -# when: check_gw.changed + - name: Add cron job with check gateway script + cron: name=check_gw special_time=reboot job="/opt/freifunk/keepalive.sh > /dev/null 2>&1 &" user="root" + when: check_gw.changed - name: Supernode Config script super- and exitnode copy: src=./files/supernode dest=/usr/bin/supernode owner=root group=root mode=0500 when: sn_exit is defined