Browse Source

Merge pull request #1303 from talset/s3_registry_clusterid

s3_registry no filter named 'lookup'
Stefanie Forrester 9 years ago
parent
commit
4e9186ace8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/adhoc/s3_registry/s3_registry.yml

+ 1 - 1
playbooks/adhoc/s3_registry/s3_registry.yml

@@ -14,7 +14,7 @@
     aws_access_key: "{{ lookup('env', 'S3_ACCESS_KEY_ID') }}"
     aws_secret_key: "{{ lookup('env', 'S3_SECRET_ACCESS_KEY') }}"
     aws_bucket_name: "{{ aws_bucket | default(clusterid ~ '-docker') }}"
-    aws_bucket_region: "{{ aws_region | lookup('env', 'S3_REGION') | default('us-east-1') }}"
+    aws_bucket_region: "{{ aws_region | default(lookup('env', 'S3_REGION') | default('us-east-1', true)) }}"
 
   tasks: