Skip to content

Commit 2398f93

Browse files
committed
Update nfs role
1 parent e57ed81 commit 2398f93

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
- name: Configure NFS server for media sharing
3+
hosts: localhost
4+
connection: local roles:
5+
- nfs

ansible_collections/shanemcd/toolbox/playbooks/nfs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
- name: Configure NFS server for media sharing
33
hosts: localhost
44
connection: local
5-
gather_facts: false
6-
75
roles:
86
- nfs

ansible_collections/shanemcd/toolbox/roles/nfs/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Path to export via NFS
3-
nfs_export_path: /mnt/media
3+
nfs_export_path: "{{ ansible_facts['env']['HOME'] }}/media"
44

55
# List of clients allowed to access the NFS share
66
# Examples:

0 commit comments

Comments
 (0)