From ef311fcd8e9f87d6930c2840baddee1e2b0a5706 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Mon, 9 Jan 2023 14:47:19 +0100
Subject: [PATCH] chore: remove unnecessary task

---
 tasks/configure_nfs_mounts.yml | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tasks/configure_nfs_mounts.yml b/tasks/configure_nfs_mounts.yml
index 435cb87..ae9021d 100644
--- a/tasks/configure_nfs_mounts.yml
+++ b/tasks/configure_nfs_mounts.yml
@@ -27,18 +27,6 @@
   loop: "{{ stat_result.results }}"
   when: not item.stat.exists
 
-- name: Mounts für SubApp-Shares & Logs LEGACY
-  ansible.posix.mount:
-    path: "{{ item.path }}"
-    state: "absent"
-  loop:
-    # LEGACY -> remove
-      # we remove this mount in favor of separate mounts for logging ingests and access (but we can only do this once the rollout has happened and the sub-/dissapp are logging to their new locations, because otherwise the "Device is busy", so think of this as preparation)
-    - path: "/var/log/subapp/{{ ansible_hostname }}"
-    - path: "/var/log/subapp_ws/"
-  tags: [notest]
-  ignore_errors: true
-
 - name: Mounts für SubApp-Shares & Logs NEW
   ansible.posix.mount:
     path: "{{ item.path }}"
-- 
GitLab