fixup! Comply with shellcheck everywhere

parent 38cf2d49
......@@ -2,7 +2,7 @@
# Copy default route
if [ "$IFACE" = "{{ ansible_default_ipv4.interface }}" ]; then
if ! ip -4 route list 0/0 table '{{ ffhb_routing_table }}' | grep q '^default'; then
if ! ip -4 route list 0/0 table '{{ ffhb_routing_table }}' | grep -q '^default'; then
ip -4 route list 0/0 | xargs ip route add table '{{ ffhb_routing_table }}'
fi
fi
Markdown is supported
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