Make sure batctl 2020.x is installed from buster-backports so the per iface hop-penalty feature is present. Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
@@ -10,11 +10,9 @@
{%- if 'batman' in roles %}
batctl:
- pkg.installed:
+ pkg.latest:
{% if grains.oscodename == 'buster' %}
- fromrepo: buster-backports
-{% else %}
- - fromrepo: {{ grains.oscodename }}
{% endif %}