Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use yanic's respondd #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "site"]
path = site
url = https://github.com/FreifunkBremen/gluon-site-ffhb.git
[submodule "roles/respondd"]
path = roles/respondd
url = https://github.com/freifunk-ansible/ansible-role-yanic.git
2 changes: 2 additions & 0 deletions group_vars/all/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ site_domain: 'bremen.freifunk.net'
site_vpn_prefix: 'vpn'
icvpn_as: 65196
fastd_peers_limit: 200

freifunk_site_code: "{{ site_code }}"
9 changes: 9 additions & 0 deletions group_vars/vpnservers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
yanic_respondd: true
yanic_version: respondd

yanic_respondd_batman: [bat-ffhb]
yanic_respondd_listen_clientdev: [br-ffhb]
yanic_respondd_listen_meshdev:
- vpn-ffhb
- vpn-ffhb-legacy
2 changes: 1 addition & 1 deletion roles/caddy/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
dependencies:
- go
- golang
galaxy_info:
platforms:
- name: Debian
Expand Down
2 changes: 1 addition & 1 deletion roles/freifunkmanager/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
dependencies:
- go
- golang
galaxy_info:
platforms:
- name: Debian
Expand Down
14 changes: 0 additions & 14 deletions roles/go/tasks/main.yml

This file was deleted.

18 changes: 18 additions & 0 deletions roles/golang/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
- name: Download and install go
unarchive:
src: https://dl.google.com/go/go1.12.4.linux-amd64.tar.gz
dest: /usr/local
copy: no

- name: Install go dep
shell: /usr/local/go/bin/go get -u github.com/golang/dep/cmd/dep
args:
creates: /opt/go/bin/dep
environment:
GOPATH: /opt/go

- name: Configure go
template:
src: go.sh
dest: /etc/profile.d/go.sh
File renamed without changes.
1 change: 1 addition & 0 deletions roles/respondd
Submodule respondd added at b7daf2
2 changes: 1 addition & 1 deletion roles/yanic/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
dependencies:
- go
- golang
galaxy_info:
platforms:
- name: Debian
Expand Down