Browse Source

Merge pull request #8758 from jim-minter/copyimagename

azure: pass image_name into tasks/create_blob_from_vm.yml
Jim Minter 6 years ago
parent
commit
044a13723f

+ 2 - 0
playbooks/azure/openshift-cluster/build_base_image.yml

@@ -47,4 +47,6 @@
 
   - name: create blob
     import_tasks: tasks/create_blob_from_vm.yml
+    vars:
+      image_name: "{{ openshift_azure_output_image_name }}"
     when: openshift_azure_storage_account is defined and openshift_azure_storage_account

+ 2 - 0
playbooks/azure/openshift-cluster/build_node_image.yml

@@ -102,4 +102,6 @@
 
   - name: create blob
     import_tasks: tasks/create_blob_from_vm.yml
+    vars:
+      image_name: "{{ openshift_azure_output_image_name }}"
     when: openshift_azure_storage_account is defined and openshift_azure_storage_account