diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-07 11:06:33 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-07 19:38:45 +0200 |
commit | 7ccc51aad5ea52b26b27faf6d00413c94bf02f46 (patch) | |
tree | 4dd0bb7670b4c90e5c97350312dede37357a19cd /roles/systemd_requires_mount_for | |
parent | linux_status: factor out PPA set up to a separate role (diff) | |
download | infra-ansible-7ccc51aad5ea52b26b27faf6d00413c94bf02f46.tar.gz infra-ansible-7ccc51aad5ea52b26b27faf6d00413c94bf02f46.zip |
factor out systemd service editing
Diffstat (limited to 'roles/systemd_requires_mount_for')
-rw-r--r-- | roles/systemd_requires_mount_for/tasks/main.yml | 6 |
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 }}'] |