Add supernode startup default

This commit is contained in:
Ansible Admin 2016-05-06 13:09:59 +02:00
parent b8812b635e
commit 07cd8bc7b6

View File

@ -9,7 +9,7 @@
user: root
gather_facts: False
vars:
snversion: master_v3.0.11
snversion: master_v3.0.12
batmanversion: v2015.2
common_required_packages:
- git
@ -184,6 +184,10 @@
file: path=/opt/freifunk state=directory mode=0755
- name: Create keepalive directory
file: path=/etc/supernode-status state=directory mode=0755
- name: Supernode loadbalancing default
lineinfile: dest=/etc/supernode-status/loadbalancing.mode regexp=^0 line=0
- name: Supernode mode default
lineinfile: dest=/etc/supernode-status/supernode.mode regexp=^0 line=0
- name: Check gateway / keepalive script supernode
copy: src=./files/{{ item }} dest=/opt/freifunk owner=root group=root mode=0500
with_items: check_gw_script