From 163f43c1a188a96cc609d073c6eb00796fe658ac Mon Sep 17 00:00:00 2001 From: Roman Katrincak Date: Wed, 9 Dec 2015 12:53:42 +0100 Subject: [PATCH] Minor fixes --- files/alfred.sh.j2 | 2 +- files/gre_backbone.sh | 2 +- files/l2tp_broker.cfg.j2 | 2 +- install.sn.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/alfred.sh.j2 b/files/alfred.sh.j2 index 3d1d88e..a6cbcfa 100644 --- a/files/alfred.sh.j2 +++ b/files/alfred.sh.j2 @@ -2,7 +2,7 @@ release=$(/bin/uname -r) nodeid=$( /bin/echo {{ sn_mesh_MAC }} | /bin/sed s/://g) -meshh_if=$(/bin/cat /sys/class/net/*/address | /bin/grep -v ^00:00:00) +meshh_if=$(/bin/cat /sys/class/net/troisdorf*/address | /bin/grep -v ^00:00:00) tempfile=/tmp/alfred_info if [ -f $tempfile ] diff --git a/files/gre_backbone.sh b/files/gre_backbone.sh index 0e0debc..d22d7ef 100644 --- a/files/gre_backbone.sh +++ b/files/gre_backbone.sh @@ -1,7 +1,7 @@ #!/bin/sh # Server name ending must be a single digit number communityname="troisdorf" -server="troisdorf1 troisdorf2 troisdorf3 troisdorf4 troisdorf5 troisdorf6" +server="troisdorf1 troisdorf2 troisdorf3 troisdorf4 troisdorf5 troisdorf6 troisdorf9" domain="freifunk-troisdorf.de" mtu=1500 # community MAC address, without the last Byte (:)! diff --git a/files/l2tp_broker.cfg.j2 b/files/l2tp_broker.cfg.j2 index 78a14f6..8060e21 100644 --- a/files/l2tp_broker.cfg.j2 +++ b/files/l2tp_broker.cfg.j2 @@ -9,7 +9,7 @@ interface=eth0 ; session with the broker max_cookies=1024 ; Maximum number of tunnels that will be allowed by the broker -max_tunnels=50 +max_tunnels=150 ; Tunnel port base port_base=15000 ; Tunnel id base diff --git a/install.sn.yml b/install.sn.yml index 98c5b85..c84e35a 100644 --- a/install.sn.yml +++ b/install.sn.yml @@ -250,7 +250,7 @@ - name: Send notification message via Slack local_action: module: slack - token: + token: "{{ slack_token }}" msg: "{{ inventory_hostname }} completed" channel: "#technik" username: "Ansible on {{ inventory_hostname }}"