Role service-fastd-mesh: replace rstrip with rsplit
This commit is contained in:
parent
0d60aa9f99
commit
d4d4ad0147
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ fastd_config: '/etc/fastd/%s/peer_limit.conf'
|
|||
fastd_status: '/usr/local/bin/fastd-status'
|
||||
gateways:
|
||||
{% for gateway in groups['ffmwu-gateways'] %}
|
||||
- {{ gateway.rstrip('.freifunk-mwu.de') }}
|
||||
- {{ gateway.rsplit('.freifunk-mwu.de')[0] }}
|
||||
{% endfor %}
|
||||
{% for gateway in legacy_gateways %}
|
||||
- {{ gateway }}
|
||||
|
|
Loading…
Reference in a new issue