瀏覽代碼

Fix for recent az changes.

Kenny Woodson 6 年之前
父節點
當前提交
19cb7aee31
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/azure/openshift-cluster/tasks/create_blob_from_vm.yml

+ 1 - 1
playbooks/azure/openshift-cluster/tasks/create_blob_from_vm.yml

@@ -23,7 +23,7 @@
 - name: start copy
   command: >
     az storage blob copy start
-    --source-uri "{{ (sas.stdout | from_json).accessSas }}"
+    --source-uri "{{ (sas.stdout | from_json).properties.output.accessSAS }}"
     --account-name "{{ openshift_azure_storage_account }}"
     --account-key "{{ (keys.stdout | from_json)[0].value }}"
     --destination-container "{{ openshift_azure_container }}"