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