Hey everybody,
I have an Ansible project that basically rsync a Master instances (we are on AWS) with all of the other instances in our poll. That way we update the Master instance and all the other instance get updated as well.
When a new instance comes up it starts with the tag "Sync: False" that way we know we got do a "full sync" with that instance. After the full sync we change the tag to "Sync: True" now we only need to do incremental syncs.
I'm having 2 problems:
1- The cron job that runs every 600sec is not being executed. If I SSH the instance and execute manually everything works fine, but for some reason the [login to view URL] is not triggering the [login to view URL]
2- All of our logs are going to [login to view URL] but this file is over 4.5GB now. I need a way to safe clear the logs that were wrote on that file.
I'm attaching a basic diagram so you can understand better the sync process.