diff --git a/install.sn.yml b/install.sn.yml index e4389dc..1482d14 100644 --- a/install.sn.yml +++ b/install.sn.yml @@ -58,6 +58,8 @@ - named.conf.fftdf check_gw_script: - keepalive.sh + supernode_config: + - supernode authorized_keys: - authorized_keys logrotate_config: @@ -196,6 +198,10 @@ - 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 + template: src=./files/supernode dest=/usr/bin/supernode owner=root group=root mode=0500 + register: supernode_config + when: sn_exit is defined - name: Tunneldigger stats copy: src=./files/{{ item }} dest=/opt/freifunk owner=root group=root mode=0500 with_items: tunneld_stats_file