aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/systemd_requires_mounts_for
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-23 17:46:28 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-23 18:03:25 +0200
commit287264d1eefb311b472a5f0431ae012cf2033a26 (patch)
treee65a79c80c6fb741ac45e359ba32e6192acaf396 /roles/systemd_requires_mounts_for
parentdigitalocean_volume: properly prefix variables (diff)
downloadinfra-ansible-287264d1eefb311b472a5f0431ae012cf2033a26.tar.gz
infra-ansible-287264d1eefb311b472a5f0431ae012cf2033a26.zip
replace systemd_requires_mounts_for with systemd_depend_mount
It should be better and more comprehensible.
Diffstat (limited to '')
-rw-r--r--roles/systemd_requires_mounts_for/README.md2
-rw-r--r--roles/systemd_requires_mounts_for/defaults/main.yml1
-rw-r--r--roles/systemd_requires_mounts_for/tasks/main.yml7
3 files changed, 0 insertions, 10 deletions
diff --git a/roles/systemd_requires_mounts_for/README.md b/roles/systemd_requires_mounts_for/README.md
deleted file mode 100644
index 7aef90f..0000000
--- a/roles/systemd_requires_mounts_for/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-This role modifies a systemd service to require a mounted directory before
-starting it.
diff --git a/roles/systemd_requires_mounts_for/defaults/main.yml b/roles/systemd_requires_mounts_for/defaults/main.yml
deleted file mode 100644
index 6ae56f1..0000000
--- a/roles/systemd_requires_mounts_for/defaults/main.yml
+++ /dev/null
@@ -1 +0,0 @@
-#mount_dir:
diff --git a/roles/systemd_requires_mounts_for/tasks/main.yml b/roles/systemd_requires_mounts_for/tasks/main.yml
deleted file mode 100644
index 4459d59..0000000
--- a/roles/systemd_requires_mounts_for/tasks/main.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-- name: Edit systemd service
- ansible.builtin.include_role:
- name: systemd_edit
- vars:
- service_section: Unit
- service_option: RequiresMountsFor
- service_values: ['{{ mount_dir }}']