From f8b42cdd6c0facd3cbbc9ae7e89808d4910f6d87 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 13 Jun 2022 16:20:27 +0200 Subject: [PATCH] Fix the exports file names. --- tasks/nfs-kernel-server.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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