Skip to content

Instantly share code, notes, and snippets.

@farahfa
Created July 5, 2017 18:40
Show Gist options
  • Save farahfa/3fd9e656ad137f1d16cb201135d976ed to your computer and use it in GitHub Desktop.
Save farahfa/3fd9e656ad137f1d16cb201135d976ed to your computer and use it in GitHub Desktop.
- name: fetch elastic search from s3
s3:
mode: get
region: "{{ aws_region }}"
aws_access_key: "{{ myaccesskey }}"
aws_secret_key: "{{ mysecretkey }}"
s3_url: "{{s3_url}}"
bucket: "{{es_bucket_name}}"
dest: /tmp/
object: "/elasticsearch-{{version}}.tar.gz"
@farahfa
Copy link
Author

farahfa commented Jul 5, 2017

Error that I get:

fatal: [10.104.149.109]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to connect to S3: type object got multiple values for keyword argument 'calling_format'"}

@farahfa
Copy link
Author

farahfa commented Jul 5, 2017

Bucket name:

company.com-software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment