Skip to content

Commit

Permalink
Add yanic's respondd from ansible-freifunk
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed May 4, 2019
1 parent 5ec06f8 commit 0841606
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 22 deletions.
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
1 change: 1 addition & 0 deletions playbooks/vpnserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- { role: tmpfs, tags: [tmpfs] }
- { role: tools, tags: [tools] }
- { role: motd, tags: [motd] }
- { role: respondd, tags: [yanic, respondd] }
- { role: nginx, tags: [nginx] }
- { role: speedtest, tags: [speedtest] }
- { role: etckeeper-post, tags: [etckeeper-post] }
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
19 changes: 0 additions & 19 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

0 comments on commit 0841606

Please sign in to comment.