From ac865964f18abacc934f5557367237d1f0d18fbb Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 14 Jul 2021 06:59:11 -0500 Subject: [PATCH] Fix mount options for FreeBSD. --- tasks/workstation/settings/nfs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/workstation/settings/nfs.yml b/tasks/workstation/settings/nfs.yml index 4bf24e9..3cd08f0 100644 --- a/tasks/workstation/settings/nfs.yml +++ b/tasks/workstation/settings/nfs.yml @@ -7,10 +7,12 @@ - name: Workstation | Settings | NFS | Facts (Linux) set_fact: + mount_options: defaults mount_number: 0 - name: Workstation | Settings | NFS | Facts (FreeBSD) set_fact: + mount_options: rw mount_number: 2 @@ -55,5 +57,5 @@ path: /etc/fstab marker: "# {mark} MANAGED BY ANSIBLE | Media" block: | - htpc:/mnt/hdd_unsafe/media {{ media_folder }} nfs defaults {{ mount_number }} {{ mount_number }} + htpc:/mnt/hdd_unsafe/media {{ media_folder }} nfs {{ mount_options }} {{ mount_number }} {{ mount_number }} backup: yes \ No newline at end of file