From 40a0eb183558f63de2c6d8c854826236db42fd98 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 6 Jul 2023 23:20:47 +0300
Subject: [PATCH] Revert "Router: Enable soft updates."

This reverts commit a3ea3389b42e8d39a1932d97098ccaeba5825dbf.

I was the impression that soft updates improve reliability but in fact
they reduce it (had a couple of power outages and it would only boot in
single user mode and all of the partitions required an fsck).
---
 Ansible/roles/router/tasks/main.yaml | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/Ansible/roles/router/tasks/main.yaml b/Ansible/roles/router/tasks/main.yaml
index e1fc047..bbd10fd 100644
--- a/Ansible/roles/router/tasks/main.yaml
+++ b/Ansible/roles/router/tasks/main.yaml
@@ -1,21 +1,4 @@
 ---
-- name: Set soft updates on all mounts
-  with_items: |-
-    {{ ansible_mounts | selectattr("fstype", "equalto", "ffs") }}
-  ansible.posix.mount:
-    backup: true
-    boot: true
-    fstype: "{{ item.fstype }}"
-    opts: |-
-      {{ (item.options.split(",") + ["softdep"]) | unique | join(",") }}
-    path: "{{ item.mount }}"
-    src: "{{ item.device }}"
-    state: present
-  notify:
-    - Message about restarting the machine
-  tags:
-    - mounts
-
 - name: Configure sysctl
   with_dict:
     net.inet.ip.forwarding: "1"
-- 
GitLab