aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nfsd')
-rw-r--r--roles/nfsd/defaults/main.yml2
-rw-r--r--roles/nfsd/tasks/main.yml2
-rw-r--r--roles/nfsd/tasks/os_freebsd.yml2
3 files changed, 6 insertions, 0 deletions
diff --git a/roles/nfsd/defaults/main.yml b/roles/nfsd/defaults/main.yml
index b214a7c..60fafc9 100644
--- a/roles/nfsd/defaults/main.yml
+++ b/roles/nfsd/defaults/main.yml
@@ -1,3 +1,5 @@
+---
+
nfsd_dir: /data/nfs
nfsd_shared_dirs: "{{ vmm_vms | map(attribute='name') | list }}"
nfsd_configuration_file: /etc/exports
diff --git a/roles/nfsd/tasks/main.yml b/roles/nfsd/tasks/main.yml
index ca562d8..7e82a8f 100644
--- a/roles/nfsd/tasks/main.yml
+++ b/roles/nfsd/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
- name: create nfsd data directory
ansible.builtin.file:
path: "{{ nfsd_dir }}"
diff --git a/roles/nfsd/tasks/os_freebsd.yml b/roles/nfsd/tasks/os_freebsd.yml
index d1601c8..1bb7fa3 100644
--- a/roles/nfsd/tasks/os_freebsd.yml
+++ b/roles/nfsd/tasks/os_freebsd.yml
@@ -1,3 +1,5 @@
+---
+
- name: edit daemons flags
ansible.builtin.lineinfile:
path: /etc/rc.conf
remember that computers suck.