Commit 40a0eb18 authored by nimrod's avatar nimrod
Browse files

Revert "Router: Enable soft updates."

This reverts commit a3ea3389.

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).
parent 584e4092
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
---
- 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"