From 287264d1eefb311b472a5f0431ae012cf2033a26 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Aug 2023 17:46:28 +0200 Subject: replace systemd_requires_mounts_for with systemd_depend_mount It should be better and more comprehensible. --- roles/systemd_requires_mounts_for/README.md | 2 -- roles/systemd_requires_mounts_for/defaults/main.yml | 1 - roles/systemd_requires_mounts_for/tasks/main.yml | 7 ------- 3 files changed, 10 deletions(-) delete mode 100644 roles/systemd_requires_mounts_for/README.md delete mode 100644 roles/systemd_requires_mounts_for/defaults/main.yml delete mode 100644 roles/systemd_requires_mounts_for/tasks/main.yml (limited to 'roles/systemd_requires_mounts_for') 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 }}'] -- cgit v1.2.3