diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-23 18:06:40 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-23 18:11:44 +0200 |
commit | 622921151674a71fda88b405a576847e69cd3c83 (patch) | |
tree | 403cdfc0f6350174e138750ba2706bd67f77e652 /roles/systemd_depend_iface/templates/override.conf.j2 | |
parent | replace systemd_requires_mounts_for with systemd_depend_mount (diff) | |
download | infra-ansible-622921151674a71fda88b405a576847e69cd3c83.tar.gz infra-ansible-622921151674a71fda88b405a576847e69cd3c83.zip |
add role systemd_depend_iface
Diffstat (limited to '')
-rw-r--r-- | roles/systemd_depend_iface/templates/override.conf.j2 | 5 |
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 |