From 7ccc51aad5ea52b26b27faf6d00413c94bf02f46 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 7 Aug 2023 11:06:33 +0200 Subject: factor out systemd service editing --- roles/systemd_requires_mount_for/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/systemd_requires_mount_for/tasks/main.yml (limited to 'roles/systemd_requires_mount_for') 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 }}'] -- cgit v1.2.3