#!/bin/bash set -euxo pipefail; INTERFACE={{ wireguard_interface_name | quote }}; ip route flush dev $INTERFACE; ip link set down dev $INTERFACE; ip address flush dev $INTERFACE;