diff --git a/Ansible/roles/router/tasks/main.yaml b/Ansible/roles/router/tasks/main.yaml index e1fc047a90572e9228b066da0c30f41cda4db545..bbd10fd532be669ff826f806b1ec7690348b8282 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"