Not necessarily.  Depends on the order of execution within the module.  It 
might "touch" the destination before attempting the copy and may not delete 
it if the copy fails.  Not sure.  You'd have to look at the source code of 
the fetch module.  :)

On Tuesday, October 2, 2018 at 1:45:38 PM UTC-4, eric.b....@nasa.gov wrote:
>
> When I use the fetch module (with or without using become, which is 
> contra-indicated but I have no choice), and for whatever reason the file 
> cannot be copied, the local machine still creates a zero-length file.  Is 
> there a way to disable this behavior?
>
> Thanks.
>
> --EbH
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d41aa13f-d9b7-441a-9e42-c6048a8d2024%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [ansible-pro... eric.b.hymowitz via Ansible Project
    • [ansibl... Brad Van Orden
      • RE:... 'Hymowitz, Eric B. (GSFC-444.0)[KBRwyle]' via Ansible Project
    • [ansibl... Brad Van Orden
      • RE:... 'Hymowitz, Eric B. (GSFC-444.0)[KBRwyle]' via Ansible Project
    • [ansibl... Brad Van Orden

Reply via email to