diff --git a/tasks/nfs-kernel-server.yml b/tasks/nfs-kernel-server.yml index e8d8004..316d4be 100644 --- a/tasks/nfs-kernel-server.yml +++ b/tasks/nfs-kernel-server.yml @@ -50,12 +50,13 @@ dest: '/etc/exports.d' owner: root group: root + state: directory mode: 0755 - name: Install the NFS export files template: src: 'kernel-nfs-exports.j2' - dest: '/etc/exports.d/{{ item.name }}' + dest: '/etc/exports.d/{{ item.name }}.exports' owner: root group: root mode: 0644