From 3baf02951c72eb17f4ec4b3b9adea76445276004 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 14 Jul 2021 07:08:12 -0500 Subject: [PATCH] Fix mount number, as well as system-specific facts. --- tasks/workstation/settings/nfs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/workstation/settings/nfs.yml b/tasks/workstation/settings/nfs.yml index 3cd08f0..9e214a4 100644 --- a/tasks/workstation/settings/nfs.yml +++ b/tasks/workstation/settings/nfs.yml @@ -4,16 +4,17 @@ - name: Workstation | Settings | NFS | Facts set_fact: media_folder: /mnt/media + mount_number: 0 - name: Workstation | Settings | NFS | Facts (Linux) set_fact: mount_options: defaults - mount_number: 0 + when: ansible_system == "Linux" - name: Workstation | Settings | NFS | Facts (FreeBSD) set_fact: mount_options: rw - mount_number: 2 + when: ansible_system == "FreeBSD" - name: Workstation | Settings | NFS | Install (Linux)