Fix mount options for FreeBSD.
This commit is contained in:
parent
2ae6c1c45e
commit
ac865964f1
@ -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
|
Loading…
x
Reference in New Issue
Block a user