From 8aa348b74ab9810e9c05c2373de22eed33e4eb85 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 21 Mar 2022 18:52:05 +0100 Subject: [PATCH] Fix the nfs export directory creation. --- tasks/ganesha-nfs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/ganesha-nfs.yml b/tasks/ganesha-nfs.yml index d397971..903f45f 100644 --- a/tasks/ganesha-nfs.yml +++ b/tasks/ganesha-nfs.yml @@ -3,11 +3,12 @@ block: - name: Create the directory of the nextcloud NFS export ansible.builtin.file: - dest: '{{ san_nextcloud_data_directory_for_export }}' + dest: '{{ item.path }}' state: directory owner: root group: root mode: 0755 + loop: '{{ nfs_server_ganesha_exports }}' tags: [ 'san', 'nfs', 'storage', 'ganesha', 'ganesha_export' ]