#!/bin/sh {% if ansible_hostname == 'hetzner-01' %} /sbin/ifconfig $INTERFACE down /usr/sbin/ip rule del to {{ tinc_remote_nets[0].net_cidr }} table 5 {% elif ansible_hostname == 'RaspiBeyerstedt' %} /sbin/ifconfig $INTERFACE down /bin/ip route del {{ tinc_remote_nets[0].net_cidr }} dev eth0 {% elif ansible_hostname == 'Magrathea' %} /sbin/ifconfig $INTERFACE down /sbin/route -n delete -net {{ tinc_remote_nets[0].net_cidr }} {{ tinc_remote_nets[0].gateway }} {% endif %}