Commit a4ee5a58 authored by Lars Beckers's avatar Lars Beckers
Browse files

networkd: add debian version safeguard compat on testing

parent 306cb0f6
Pipeline #2899 passed with stage
in 37 seconds
......@@ -23,7 +23,7 @@ IPForward=yes
Gateway={{ route.gateway }}
{% endif %}
{% if route.gateway_on_link is defined %}
{% if ansible_distribution_major_version|int <= 10 %}
{% if ansible_distribution_major_version|int(default=99) < 11 %}
GatewayOnlink={{ route.gateway_on_link }}
{% else %}
GatewayOnLink={{ route.gateway_on_link }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment