I use nohup for starting Ansible playbooks inside the Master which is spawned via boto3 from AWS Lambda.
This playbook creates multiple workers, make them do some tasks, and terminates them.
So, I want to design/build a reliable monitoring system for the same. For now, I am writing the logs of nohup to a tasks.log file inside master, and pushing it to a store(for now, S3) once the Ansible plays are completed.
But, I wanted to know whether there is a much more elegant (and/or) better method for doing the same? And also, whether there are good tools which would help me in the process?