ansible-ffibk/roles/service-tinc
Tobias Hachmer 69a12e0696
Migrate all with_* loops to new loop directive
2018-09-18 14:27:58 +02:00
..
handlers Handlers: move all handlers into their roles, again 2018-03-01 06:34:55 +01:00
tasks Migrate all with_* loops to new loop directive 2018-09-18 14:27:58 +02:00
templates Role service-tinc: rework passwordstore lookup 2017-11-12 20:39:33 +01:00
README.md Fix READMEs 2018-02-28 15:20:51 +01:00

README.md

Ansible role service-tinc

Diese Ansible role installiert und konfiguriert den tinc daemon, der für die Verbindung in das InterCity-VPN benötigt wird.

  • installiert tinc
  • erzeugt icvpn tinc Instanz
    • klont freifunk/icvpn repo
    • schreibt tinc.conf
    • schreibt tinc-up hook script
    • schreibt tinc-down hook script
    • liest tinc private key aus dem pass

Benötigte Variablen

  • Dictionary icvpn
icvpn:
  prefix: mwu
  interface: icvpn
  icvpn_repo: https://github.com/freifunk/icvpn
  • Variable icvpn_ipv4_transfer_net
  • Variable icvpn_ipv6_transfer_net
  • Dictionary routing_tables
routing_tables:
  icvpn: 23
  ...
  • Host Variable magic

tinc private key

Der private Schlüssel der icvpn tinc-Instanz liegt im passwordstore. Bevor man ein Gateway aufsetzt, muss der private Schlüssel generiert und im passwordstore hinterlegt werden.