From db698b595e7ff088c96d00ef5285a0d634aff1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 12 Dec 2022 22:15:01 +0100 Subject: refactor: pass ansible-lint with yaml header --- roles/nfsd/defaults/main.yml | 2 ++ roles/nfsd/tasks/main.yml | 2 ++ roles/nfsd/tasks/os_freebsd.yml | 2 ++ 3 files changed, 6 insertions(+) (limited to 'roles/nfsd') 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 -- cgit v1.2.3