summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-02-21 16:28:48 -0500
committerStephen Milner <stevem@gnulinux.net>2017-02-22 09:43:00 -0500
commit9ce20410d42f1112650ca890a686f6c9338e2faf (patch)
treee06c75f4d9bed4c441849471f9e0bbf3abb44003
parentb718955622da88c875aa5814fd87bcb3f53599f6 (diff)
downloadopenshift-9ce20410d42f1112650ca890a686f6c9338e2faf.tar.gz
openshift-9ce20410d42f1112650ca890a686f6c9338e2faf.tar.bz2
openshift-9ce20410d42f1112650ca890a686f6c9338e2faf.tar.xz
openshift-9ce20410d42f1112650ca890a686f6c9338e2faf.zip
CloudFront oc_secret contents should be a list
Fixes "argument contents is of type <type 'dict'> and we were unable to convert to list"
-rw-r--r--roles/openshift_hosted/tasks/registry/storage/s3.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_hosted/tasks/registry/storage/s3.yml b/roles/openshift_hosted/tasks/registry/storage/s3.yml
index 7d51594bd..16709dfef 100644
--- a/roles/openshift_hosted/tasks/registry/storage/s3.yml
+++ b/roles/openshift_hosted/tasks/registry/storage/s3.yml
@@ -31,8 +31,8 @@
namespace: "{{ openshift.hosted.registry.namespace | default('default') }}"
name: docker-registry-s3-cloudfront
contents:
- path: cloudfront.pem
- data: "{{ lookup('file', openshift_hosted_registry_storage_s3_cloudfront_privatekeyfile) }}"
+ - path: cloudfront.pem
+ data: "{{ lookup('file', openshift_hosted_registry_storage_s3_cloudfront_privatekeyfile) }}"
- name: Add cloudfront secret to the registry deployment config
command: >