Skip to content

Commit

Permalink
Merge pull request #374 from mediapart/feat/s3-region
Browse files Browse the repository at this point in the history
Add region in "Get object from Ceph RGW" task
  • Loading branch information
ricardclau committed Jun 1, 2021
2 parents e8bca49 + 325070f commit 9a087e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -249,7 +249,7 @@ vars:
ansistrano_s3_bucket: s3bucket
ansistrano_s3_object: s3object.tgz # Add the _unarchive suffix to the ansistrano_deploy_via if your object is a package (ie: s3_unarchive)
ansistrano_s3_region: eu-west-1
ansistrano_s3_rgw: false # must be Ansible >= 2.2. use Ceph RGW (when set true, ignore ansistrano_s3_region)
ansistrano_s3_rgw: false # must be Ansible >= 2.2. use Ceph RGW for S3 compatible cloud providers
ansistrano_s3_url: http://rgw.example.com # when use Ceph RGW, set url
# Optional variables, omitted by default
ansistrano_s3_aws_access_key: YOUR_AWS_ACCESS_KEY
Expand Down
1 change: 1 addition & 0 deletions tasks/update-code/s3.yml
Expand Up @@ -27,5 +27,6 @@
mode: get
aws_access_key: "{{ ansistrano_s3_aws_access_key | default(omit) }}"
aws_secret_key: "{{ ansistrano_s3_aws_secret_key | default(omit) }}"
region: "{{ ansistrano_s3_region | default(omit) }}"
ignore_nonexistent_bucket: "{{ ansistrano_s3_ignore_nonexistent_bucket | default(omit) }}"
when: ansistrano_s3_rgw

0 comments on commit 9a087e8

Please sign in to comment.