Running Sync using ansible

9 views
Skip to first unread message

Jay Amin

unread,
Aug 13, 2020, 1:07:44 PM8/13/20
to Ansible Project
Hello Everyone,
I am trying to run sync for /home directory and everything within this directory (including permissions) between Ansible Controller Node and Remote Node.

I would like to run this sync on Controller Node and it will basically run based on defined time to keep files/folders/permissions synced inside /home between both systems.

Any assistance would be appreciated.

Thanks

Jay Amin

unread,
Aug 14, 2020, 9:19:47 AM8/14/20
to Ansible Project
Hello Everyone - Anyone has any feedback or direction to my query? 

Would appreciate feedback.

Thanks

Dick Visser

unread,
Aug 14, 2020, 9:40:39 AM8/14/20
to ansible...@googlegroups.com
Have a look at these modules:

https://docs.ansible.com/ansible/latest/modules/synchronize_module.html
https://docs.ansible.com/ansible/latest/modules/cron_module.html
> --
> 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-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9592deb0-a52b-4d73-9dcf-65bfd1441164n%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages