We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e57ed81 commit 2398f93Copy full SHA for 2398f93
ansible_collections/shanemcd/toolbox/playbooks/#nfs.yml#
@@ -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
@@ -2,7 +2,5 @@
- name: Configure NFS server for media sharing
hosts: localhost
connection: local
- gather_facts: false
6
-
7
roles:
8
- nfs
ansible_collections/shanemcd/toolbox/roles/nfs/defaults/main.yml
@@ -1,6 +1,6 @@
---
# Path to export via NFS
-nfs_export_path: /mnt/media
+nfs_export_path: "{{ ansible_facts['env']['HOME'] }}/media"
# List of clients allowed to access the NFS share
# Examples:
0 commit comments