Added Supernode Config Script
This commit is contained in:
parent
a67930da0b
commit
8ca5681bf6
@ -58,6 +58,8 @@
|
|||||||
- named.conf.fftdf
|
- named.conf.fftdf
|
||||||
check_gw_script:
|
check_gw_script:
|
||||||
- keepalive.sh
|
- keepalive.sh
|
||||||
|
supernode_config:
|
||||||
|
- supernode
|
||||||
authorized_keys:
|
authorized_keys:
|
||||||
- authorized_keys
|
- authorized_keys
|
||||||
logrotate_config:
|
logrotate_config:
|
||||||
@ -196,6 +198,10 @@
|
|||||||
- 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
|
||||||
|
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
|
- name: Tunneldigger stats
|
||||||
copy: src=./files/{{ item }} dest=/opt/freifunk owner=root group=root mode=0500
|
copy: src=./files/{{ item }} dest=/opt/freifunk owner=root group=root mode=0500
|
||||||
with_items: tunneld_stats_file
|
with_items: tunneld_stats_file
|
||||||
|
Loading…
Reference in New Issue
Block a user