Role service-fastd-mesh: remove peers-ffbin

remove the individual peers repo for ffbin after successful migration to 
the multidomain firmware
This commit is contained in:
Julian Labus 2019-02-05 15:18:48 +01:00
parent 2ec0d4fe2a
commit 6d016c034c
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A
3 changed files with 0 additions and 24 deletions

View file

@ -8,7 +8,6 @@ Diese Ansible role konfiguriert die fastd-Instanz für die Knoten Kommunikation.
- der private fastd Schlüssel wird aus dem Admin passwordstore gelesen (YAML key secret) - der private fastd Schlüssel wird aus dem Admin passwordstore gelesen (YAML key secret)
- erstellt die erforderlichen peers Ordner - erstellt die erforderlichen peers Ordner
- klont die fastd peer repos - klont die fastd peer repos
- klont bingener fastd peer repo (im Moment hardcoded)
## Instanz-Benamung ## Instanz-Benamung
- Node-Instanzen: _$mesh.id_ + vpn + '-' + _$mesh.fastd.nodes.instances.xx.mtu_, z.B. "mzvpn-1312" - Node-Instanzen: _$mesh.id_ + vpn + '-' + _$mesh.fastd.nodes.instances.xx.mtu_, z.B. "mzvpn-1312"

View file

@ -15,16 +15,6 @@
group: admin group: admin
loop: "{{ meshes | subelements('fastd.nodes.instances') }}" loop: "{{ meshes | subelements('fastd.nodes.instances') }}"
- name: create fastd peer mesh directories for ffbin
file:
path: "/etc/fastd/mzvpn-{{ item }}/peers_bingen"
state: directory
mode: 0755
owner: admin
group: admin
loop:
- 1406
- name: clone fastd peer mesh repos - name: clone fastd peer mesh repos
git: git:
repo: "{{ item.1.peers.repo }}" repo: "{{ item.1.peers.repo }}"
@ -34,16 +24,6 @@
loop: "{{ meshes | subelements('fastd.nodes.instances') }}" loop: "{{ meshes | subelements('fastd.nodes.instances') }}"
become: false become: false
- name: clone fastd peer mesh repo for ffbin
git:
repo: https://github.com/freifunk-bingen/peers-ffbin.git
dest: "/etc/fastd/mzvpn-{{ item }}/peers_bingen"
version: master
update: no
loop:
- 1406
become: false
- name: template fastd mesh config - name: template fastd mesh config
template: template:
src: fastd-mesh.conf.j2 src: fastd-mesh.conf.j2

View file

@ -22,9 +22,6 @@ mtu {{ item.1.mtu }};
peer group "vpn_nodes" { peer group "vpn_nodes" {
include "peer_limit.conf"; include "peer_limit.conf";
include peers from "peers"; include peers from "peers";
{% if item.0.id == "mz" %}
include peers from "peers_bingen";
{% endif %}
} }
on up "/bin/systemctl reload networking"; on up "/bin/systemctl reload networking";