Skip to content

Instantly share code, notes, and snippets.

@rad9800
Created December 10, 2025 08:50
Show Gist options
  • Select an option

  • Save rad9800/559fa2a0fdec16d902c8f7a3f4030bb0 to your computer and use it in GitHub Desktop.

Select an option

Save rad9800/559fa2a0fdec16d902c8f7a3f4030bb0 to your computer and use it in GitHub Desktop.
Configuration backup
---
- name: Deploy application to AWS
hosts: localhost
vars:
aws_access_key: AKIAYPXLJTUOQIZBHGTI
aws_secret_key: IgCU0ppSvCDQNQAQ4wJBoVh77+UtuWPqauwGmT1f
aws_region: us-east-1
tasks:
- name: Upload files to S3
amazon.aws.s3_object:
aws_access_key: "{{ aws_access_key }}"
aws_secret_key: "{{ aws_secret_key }}"
bucket: my-bucket
object: /app/
src: ./dist/
mode: put
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment