diff --git a/vpn/base/files/ip-link-add.sh b/vpn/base/files/ip-link-add.sh deleted file mode 100644 index 547b866..0000000 --- a/vpn/base/files/ip-link-add.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -u - -if ! ip link show dev "${1}" > /dev/null 2>&1 -then - ip link add "${@}" -fi diff --git a/vpn/base/tasks/main.yml b/vpn/base/tasks/main.yml index 96e025b..ce4addd 100644 --- a/vpn/base/tasks/main.yml +++ b/vpn/base/tasks/main.yml @@ -52,10 +52,3 @@ name: "bridge-utils" state: "absent" purge: true - -# TODO: remove once all interfaces have been moved. -- name: "script for creating virtual interfaces" - ansible.builtin.copy: - src: "./ip-link-add.sh" - dest: "/usr/local/sbin/ip-link-add.sh" - mode: 0755