On Tue, 27 Nov 2018 at 10:00, cavamagie <[email protected]> wrote:
>
> thank you!
> but all the file in in a repository,
> for you is not better to create a zip a use like an artifcat over nexus or 
> jfrog?
> to speed up push & post
>

I have no idea what you mean by 'all the file in in a repository'. If
you mean the source of the module, then I don't see how this is
relevant?
Also artifcat, nexus, or jfrog don't mean anything to me (neither do
push & post, in this context).

Your task is about synchronizing a number of nagios plugins in a local
source directory to a destination directory on your target system.

As for the hint about 'a zip', then I assume you are asking if
combining individual files into a single archive file would be better.
This of course depends on what your definition of 'better' is.
Assuming it includes 'easier to manage', then the answer is no.
You add a lot of overhead by having to handle the creation and
unwrapping of the ZIP file.
It will hence be more work to achieve idempotency (depending if this
is part of your definition of 'better', but I think it should).

So I would still go for the 'synchronize' module (note that your
original task actually had that very word in it's name).
If your scale requires further optimisations, then I would suggest to
do some tests using different strategies and compare numbers.

Dick

-- 
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/CAL8fbwNtRvwRFgmpgx7%2BwjVnz%3D5KhCPbwEKf9qPjV25hO6hQyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to