Update install.sn.yml

This commit is contained in:
stebifan 2016-07-20 21:15:59 +02:00 committed by GitHub
parent 19a17cc97f
commit 322874b4a5

View File

@ -208,9 +208,9 @@
template: src=./files/keepalive.exit.sh.j2 dest=/opt/freifunk/keepalive.sh owner=root group=root mode=0500 template: src=./files/keepalive.exit.sh.j2 dest=/opt/freifunk/keepalive.sh owner=root group=root mode=0500
register: check_gw register: check_gw
when: sn_exit is defined when: sn_exit is defined
- name: Add cron job with check gateway script # - 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" # cron: name=check_gw special_time=reboot job="/opt/freifunk/keepalive.sh > /dev/null 2>&1 &" user="root"
when: check_gw.changed # when: check_gw.changed
- name: Supernode Config script super- and exitnode - name: Supernode Config script super- and exitnode
copy: src=./files/supernode dest=/usr/bin/supernode owner=root group=root mode=0500 copy: src=./files/supernode dest=/usr/bin/supernode owner=root group=root mode=0500
when: sn_exit is defined when: sn_exit is defined