aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/systemd_requires_mounts_for/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-09 01:19:45 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-09 01:19:45 +0200
commit53f349b490ead1068513a09bf93fb7aaa8c4c881 (patch)
tree9c8422073a3a5c068b1de5b8a1dcdd6ebed98a5e /roles/systemd_requires_mounts_for/tasks/main.yml
parentfirewall: fail on malformed rule files (diff)
downloadinfra-ansible-53f349b490ead1068513a09bf93fb7aaa8c4c881.tar.gz
infra-ansible-53f349b490ead1068513a09bf93fb7aaa8c4c881.zip
systemd_requires_mount_for: fix a systemd key name
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 }}']