diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-23 17:46:28 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-23 18:03:25 +0200 |
commit | 287264d1eefb311b472a5f0431ae012cf2033a26 (patch) | |
tree | e65a79c80c6fb741ac45e359ba32e6192acaf396 /roles/systemd_requires_mounts_for | |
parent | digitalocean_volume: properly prefix variables (diff) | |
download | infra-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.md | 2 | ||||
-rw-r--r-- | roles/systemd_requires_mounts_for/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/systemd_requires_mounts_for/tasks/main.yml | 7 |
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 }}'] |