From 07cd8bc7b61620a6e7fdaa6cf0d9711ed85f997a Mon Sep 17 00:00:00 2001 From: Ansible Admin Date: Fri, 6 May 2016 13:09:59 +0200 Subject: [PATCH] Add supernode startup default --- install.sn.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sn.yml b/install.sn.yml index db5ef0c..7a40009 100644 --- a/install.sn.yml +++ b/install.sn.yml @@ -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