aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nfsd
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
commitdb698b595e7ff088c96d00ef5285a0d634aff1be (patch)
tree4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/nfsd
parentee3e324680a15d59429b1a2a0615fe787d169068 (diff)
downloadrules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz
refactor: pass ansible-lint with yaml header
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.