Hi Alex,

When you say only if they don't exist, do you mean to transfer them to the
remote only if they don't already exist on the remote?

This should be the 'force=no' parameter on the copy module, the generated
docs are wrongish (borrowed from the file module) and I need to correct
them.




On Tue, Aug 5, 2014 at 7:25 PM, Alex King <[email protected]> wrote:

> I need to create some files, only if they don't already exist.  (DNS zone
> files).  Once they are created, they will be managed by the application
> (bind9 doing dynamic updates), but they need to be copied or templated in
> the first place for bind to find them.
>
> What's the best way to achieve this?
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/d4170ffb-6041-4c02-b5a9-8821e95e4c9f%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/d4170ffb-6041-4c02-b5a9-8821e95e4c9f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgy15cO_%3DEoa5Mvd5_RDs9aUS0j%2Bncj3D7S_tAoqd9zSsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to