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:
parent
2ec0d4fe2a
commit
6d016c034c
3 changed files with 0 additions and 24 deletions
|
@ -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)
|
||||
- erstellt die erforderlichen peers Ordner
|
||||
- klont die fastd peer repos
|
||||
- klont bingener fastd peer repo (im Moment hardcoded)
|
||||
|
||||
## Instanz-Benamung
|
||||
- Node-Instanzen: _$mesh.id_ + vpn + '-' + _$mesh.fastd.nodes.instances.xx.mtu_, z.B. "mzvpn-1312"
|
||||
|
|
|
@ -15,16 +15,6 @@
|
|||
group: admin
|
||||
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
|
||||
git:
|
||||
repo: "{{ item.1.peers.repo }}"
|
||||
|
@ -34,16 +24,6 @@
|
|||
loop: "{{ meshes | subelements('fastd.nodes.instances') }}"
|
||||
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
|
||||
template:
|
||||
src: fastd-mesh.conf.j2
|
||||
|
|
|
@ -22,9 +22,6 @@ mtu {{ item.1.mtu }};
|
|||
peer group "vpn_nodes" {
|
||||
include "peer_limit.conf";
|
||||
include peers from "peers";
|
||||
{% if item.0.id == "mz" %}
|
||||
include peers from "peers_bingen";
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
on up "/bin/systemctl reload networking";
|
||||
|
|
Loading…
Reference in a new issue