Ansible roles and playbooks to support the Freifunk Dortmund Infrastructure

Till Klocke 966290f5b0 Added post-down commands to some interfaces to make the operation of network idempotent 9 年之前
roles 966290f5b0 Added post-down commands to some interfaces to make the operation of network idempotent 9 年之前
test b0479374b0 The interfaces template and config is now much more freifunk specific 9 年之前
.gitignore 560ba94c13 Added gitignores for test kitchen 9 年之前
.kitchen.yml 47b3cdd459 Renamed test suite from fastd to supernode to reflect what it is actually doing 9 年之前
README.md 9cd9d819dd Updated README 9 年之前
Vagrantfile c13d77f4db The Vagrantfile is now prepared for a multimachine setup to easily mock the complete Freifunk infrastructure 9 年之前
playbook.yml 3727e147c1 Test playbook now uses the ff-supernode role for testing 9 年之前

README.md

Ansible roles for Freifunk Dortmund

This repo contains roles which should ease the creation of supernodes and other services for Freifunk Dortmund (and eventually for other Communities)

Since some software components like fastd and B.A.T.M.A.N. are not always easily available via a packet manager on all platforms, the basic idea in this repo is to create roles for this software and eventually fall back to building from source.

TODO

  • batman role needs to enable build from source
  • we need a way to get batman compatibility mode as a fact and be able to configure it
  • Add role for Freifunk batman config
  • Add role for Freifunk network config
  • Add support for more platforms (don't force a linux distro to others)
  • Everything else I forgot
  • Add CI via travis:

Setup test kitchen locally

  • Install test kitchen: sudo gem install test-kitchen
  • Install additionall kitchen gems: sudo gem install kitchen-ansiblepush kitchen-ansible kitchen-vagrant
  • start tests via: kitchen test