Commit graph

48 commits

Author SHA1 Message Date
Julian Labus 3a77c2901f
Remove dashes from group_vars names 2019-05-22 09:18:40 +02:00
Julian Labus fed89c5910
Role service-fastd-mesh: remove reference to old systemd timer 2019-05-21 16:56:38 +02:00
Julian Labus b2373c17ac
service-fastd-mesh: use fastd-limiter and "on verify" to limit peers 2019-04-10 12:56:35 +02:00
Julian Labus f194880f4c
service-fastd-mesh: enable redis-server 2019-04-04 20:21:31 +02:00
Julian Labus a825a9bed0
service-fastd-mesh: add fastd-limiter (dry run)
new limits are not yet used by fastd
2019-04-04 11:56:45 +02:00
Julian Labus 71d1889a49
Role service-fastd-mesh: allow fastd-exporter access from all gateways 2019-03-29 16:40:17 +01:00
Julian Labus 3e297ed09f
Revert "Role service-fastd-mesh: update fastd peer limit method"
This reverts commit 7bb4c241e2.
2019-03-18 16:11:34 +01:00
Julian Labus d87a6f877c
Roles: use environment instead of passing variable in shell command 2019-03-14 15:35:47 +01:00
Julian Labus 7d1289f811
Role service-fastd-mesh: restart fastd-exporter after changes 2019-03-11 10:34:25 +01:00
Julian Labus 7bb4c241e2
Role service-fastd-mesh: update fastd peer limit method 2019-03-08 14:04:51 +01:00
Julian Labus 721b278d3b
Roles: improve multidomain support 2019-03-02 18:12:56 +01:00
Julian Labus 6d016c034c
Role service-fastd-mesh: remove peers-ffbin
remove the individual peers repo for ffbin after successful migration to 
the multidomain firmware
2019-02-05 15:18:48 +01:00
Julian Labus 928e0bb826
fixup! Inventory: remove 1312 MTU fastd instances 2019-01-23 16:03:16 +01:00
Julian Labus b06887fc7c
Role service-fastd-mesh: remove obsolete peer group servers 2018-12-12 21:24:37 +01:00
Tobias Hachmer 8f8184f4cf
Introduce boolean var 'debug_fastd' and tag debug
If debug_fastd to 'True' log level is set to debug on all fastd instances.

Run the playbook with tag 'debug' to invoke only tasks changing debug settings.
2018-11-07 15:20:18 +01:00
Julian Labus a540033cf2
Inventory + Roles: remove legacy_gateways 2018-11-04 01:51:26 +01:00
Julian Labus 8c4ec4170e
role service-fastd-mesh: add fastd-exporter 2018-09-25 10:38:41 +02:00
Tobias Hachmer 69a12e0696
Migrate all with_* loops to new loop directive 2018-09-18 14:27:58 +02:00
Tobias Hachmer d4a4f576c9 Rename fastd instance intragate to backbone 2018-07-25 14:08:45 +02:00
Tobias Hachmer 886cdb2417 Handlers: move all handlers into their roles, again 2018-03-01 06:34:55 +01:00
Julian Labus a97d27779d
Fix READMEs 2018-02-28 15:20:51 +01:00
Julian Labus d4d4ad0147
Role service-fastd-mesh: replace rstrip with rsplit 2018-02-28 11:16:49 +01:00
Tobias Hachmer 64f99ea396 Rename ffmwu custom config config dir from ~/.config to ~/.ffmwu-config 2017-12-31 13:41:46 +01:00
Tobias Hachmer b36f4dfe5b Role service-fastd-mesh: update peer limit config
* rename setting timeout to remote_data_timeout
* introduce setting remote_fetch_timeout
2017-12-30 11:26:47 +01:00
Tobias Hachmer 466a08a0b3 Role service-fastd-mesh: ensure fastd_status.json file is present; reorder nginx roles 2017-11-30 23:12:15 +01:00
Tobias Hachmer 78a141305d Rework passwordstore lookup handling in roles service-fastd-mesh und service-fastd-intragate 2017-11-12 20:27:12 +01:00
Tobias Hachmer 7437095761 Roles service-fastd-[mesh|intragate]: reload networking on fastd instance start 2017-11-12 15:08:41 +01:00
Tobias Hachmer 07eda681ca Roles service-fastd-mesh + service-fastd-intragate
- remove on-up|on-down stanzas from fastd.conf
- update readme
2017-11-12 14:12:07 +01:00
Tobias Hachmer fc04651e8b Lowercase all network interface names 2017-11-06 21:24:56 +01:00
Tobias Hachmer 387f3bbf6b Update fastd peer limit configuration
* add list of legacy gateways (temporarily)
 * change backend-scripts branch to ansible
 * Role server-basic: ensure ffmwu config directory is present
 * Role service-fastd: add fastd-status script
 * role service-fastd-mesh: add templating for fastd peer limit
configuration
2017-11-06 17:41:17 +01:00
Tobias Hachmer 8212e17d6a Ensure systemd units are started 2017-10-26 22:35:55 +02:00
Tobias Hachmer ac48746a11 Roles service-fastd-[intragate|mesh]: update mac prefixes due to fastd instances change 2017-10-25 19:50:06 +02:00
Tobias Hachmer f934a88661 Move all handlers to one single role 2017-10-13 07:28:41 +02:00
Tobias Hachmer c56dc3504c Role service-fastd-mesh: fix typo in handler 2017-10-08 10:51:04 +02:00
Tobias Hachmer 4732338cee Roles service-fastd-[mesh|intragate]: update role dependencies 2017-10-07 01:08:48 +02:00
Tobias Hachmer 53d30c8ded Restructure fastd configuration to define multiple instances easily
- introduce mesh subdictionary `fastd`
 - change fastd instance naming
 - change fastd network interface naming (identical with fastd instance
names)
 - change mac address prefixes
2017-10-07 00:57:35 +02:00
Tobias Hachmer 63ca114c95 Migrate nested dictionary meshes into a list of dictionaries
- migrate dictionary `ipv6` into two simple lists
 - migrate dictionary `forward_zones` into a list
2017-10-06 22:58:00 +02:00
Tobias Hachmer 829d931ff9 Role service-fastd-mesh: add systemd timer for fastd peer limit update script 2017-10-06 11:47:09 +02:00
Tobias Hachmer a2fa5ff223 Role service-fastd-mesh: move peer limit to a separate file which isn't managed by ansible 2017-10-06 10:38:26 +02:00
Tobias Hachmer 98e1b60e00 Roles service-fastd-mesh + service-fastd-intragate: rename fastd socket 2017-10-04 00:51:18 +02:00
Tobias Hachmer 0fa92eef1c Role service-fastd-mesh: add systemd unit + timer to update mesh peers 2017-10-03 23:30:02 +02:00
Tobias Hachmer 3ee405bdf2 Restructure service-fastd roles
- migrate role git-fastd-peers
- add role service-fastd
- add repo clone for ffbin peers (currently hardcoded)
- add role dependency to role service-fastd-mesh +
service-fastd-intragate
- add systemd handlers
2017-10-03 20:25:17 +02:00
Tobias Hachmer 01af6903e6 Role service-fastd-mesh + service-fastd-intragate: fix mac address format 2017-10-03 15:13:00 +02:00
Tobias Hachmer 2f32bd6c1e Restructure network interfaces in order to use ifupdown2
- rewrite interface templates for batman, fastd, ffrl and meshbridge
- add package ethtool to role server-basic
- use more ipaddr filters and get rid of unneeded variables in dict
ffrl_exit_server
- change ffrl_public_ipv4_nat variable to ip/prefix format
- update readme files
2017-10-03 14:37:39 +02:00
Tobias Hachmer c87cb61a6b Update readme of roles service-fastd-mesh + service-fastd-intragate 2017-09-28 20:09:18 +02:00
n0trax 951ab924a5 Set 'become' default to True (#7) 2017-09-17 10:11:45 +02:00
Tobias Hachmer ed03ad8573 Roles: add role documentation 2017-09-11 23:23:34 +02:00
Tobias Hachmer 94cb21daad Add a bunch of new roles
- Update Readme
- Update ansible.cfg
- Add playbook to set up gateways
- Add group variables
2017-09-11 23:21:44 +02:00