Use Ansible to copy files to Windows NFS

Overview:

I have an Ansible node that has a number of files on it. I would like to copy those files over to a remote Network File Share (NFS). I’m trying to limit the number of Windows computers we WinRM into, and so would prefer (if possible) not to need to WinRM to a Windows machine in order to copy the file. Ideally, I would like to be able to copy the file directly from the RHEL Ansible node to the Windows NFS. I say “Windows NFS” but really it is a NAS protected using Active Directory authentication.

Questions:

  1. Is it possible to use Ansible to copy from a Linux machine to an NFS (i.e. Windows, Nas, etc.)?
  2. Does it matter that the NFS is protected with Active Directory? Must I use some other credentials, or can I use an AD-based username/password?

try mounting the nfs with mount and then copy the file.