Ansible: copying files from local machine to AWS S3 Bucket in YAML

February 19 2019

I have written a simple Ansible yaml script for copying files from local to S3 bucket for restored it which deployed files in client instance. Variables are {{SERVICE}}}, {{CONFIG_LOCATION}}, {{APP_NAME}} and {{ S3_BUCKET }} you have to specify in vars-main.yaml file