On Wed, 13 Dec 2023 at 14:43, Prady A <[email protected]> wrote:

> Thank you for your direction and suggestion..
> actually we want to sync http folder not a file
> Is there any way I can sync between 2 servers.?
>

You can, with the synchronize module. But as explained above, your specific
setup includes containers, so that needs some work. What exactly depends on
your setup, if you can mount volumes, etc. Something that is known to you.
IIRC the product you are using (AAP) includes support, so that would be the
most logical thing to try.

If you folder is not too big you can still use the copy module:

https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#parameter-src

You should experiment a bit with that.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLY%3DHLFLXFWy4W2emk4ioWJBwgWSFOFE8ORQCWNN1VzXBA%40mail.gmail.com.

Reply via email to