aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/systemd_depend_iface/templates/override.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/systemd_depend_iface/templates/override.conf.j2')
-rw-r--r--roles/systemd_depend_iface/templates/override.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/systemd_depend_iface/templates/override.conf.j2 b/roles/systemd_depend_iface/templates/override.conf.j2
new file mode 100644
index 0000000..55c4f43
--- /dev/null
+++ b/roles/systemd_depend_iface/templates/override.conf.j2
@@ -0,0 +1,5 @@
+{{ ansible_managed | comment }}
+
+[Unit]
+BindsTo=sys-devices-virtual-net-{{ systemd_depend_iface_name }}.device
+After=sys-devices-virtual-net-{{ systemd_depend_iface_name }}.device