aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/systemd_requires_mount_for/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/systemd_requires_mount_for/tasks')
-rw-r--r--roles/systemd_requires_mount_for/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/systemd_requires_mount_for/tasks/main.yml b/roles/systemd_requires_mount_for/tasks/main.yml
new file mode 100644
index 0000000..71db6e4
--- /dev/null
+++ b/roles/systemd_requires_mount_for/tasks/main.yml
@@ -0,0 +1,6 @@
+- ansible.builtin.include_role:
+ name: systemd_edit
+ vars:
+ service_section: Unit
+ service_option: RequiresMountFor
+ service_values: ['{{ mount_dir }}']