try mounting the nfs with mount 
<https://docs.ansible.com/ansible/mount_module.html> and then copy the file.

On Monday, September 20, 2021 at 7:16:59 PM UTC+5:30 timothy...@bmt.ky 
wrote:

> *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?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/d8491a76-eb99-412d-ae92-6700d0980d97n%40googlegroups.com.

Reply via email to