What environment are you in? I have linux servers in a datacenter. I'd write a shell script to run the play, output to a file and copy the file to s3. Then I'd use cron to schedule the job. Of course, you'd need to use a passwordless ssh key or set up ssh-agent ahead of time to work with cron, which can be a little tricky.
So, basically how you'd schedule any task, with extra attention paid to the ssh auth. On Monday, January 27, 2020 at 11:08:26 PM UTC-8, Work-Hard wrote: > > Quick question- how to run ansible-playbook on Saturday night at 12 PM and > save the output in the amazon s3 bucket- "abc"? > -- 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/c587ac7f-2cf8-45bf-a80e-15e29efefff3%40googlegroups.com.
