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' ]