I am in Ubuntu. Can you share template of your shell script {output to a 
file and copy the file to s3}. I can't use ssh-agent as it involves windows 
workstations on-premises (outside aws). I tried to use it before but it's a 
lot of overhead/un-reliable process.

On Wednesday, January 29, 2020 at 9:06:05 AM UTC-8, Dylan Martin wrote:
>
> 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/7d1bcca2-ee06-411c-9ea1-7a5e8b741dd1%40googlegroups.com.

Reply via email to