--- - name: 'setup | Install required pkgs' ansible.builtin.package: name: - 'nfs-common' - name: 'setup | Create the mount dir' ansible.builtin.file: path: '/mnt/data' state: 'directory' mode: '755' - name: 'setup | Setup the NFS mount' ansible.posix.mount: src: '{{ nextcloud_nas_mount_path }}' path: '/mnt/data' state: 'mounted' fstype: 'nfs'