Created
February 6, 2018 00:23
-
-
Save dgm/ef28176dbfeb6e79e8965bff76515843 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: get app source | |
aws_s3: | |
aws_access_key: "{{ lookup('ini', 'aws_access_key_id section=default file=~/.aws/credentials') }}" | |
aws_secret_key: "{{ lookup('ini', 'aws_secret_access_key section=default file=~/.aws/credentials') }}" | |
bucket: my_bucket | |
object: /files/my_app.tar.gz | |
dest: /home/app/my_app.tar.gz | |
mode: get | |
environment: | |
S3_USE_SIGV4: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment