Browse Source

Fix missing input_image name error.

Kenny Woodson 6 years ago
parent
commit
2512d8d6df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/azure/openshift-cluster/build_node_image.yml

+ 1 - 1
playbooks/azure/openshift-cluster/build_node_image.yml

@@ -92,7 +92,7 @@
       content: |
         ---
         image_name: {{ openshift_azure_output_image_name }}
-        base_image: {{ (input_image.stdout | from_json).name }}
+        base_image: {{ (hostvars['localhost'].input_image.stdout | from_json).name }}
         subscription: {{ lookup('env', 'AZURE_SUBSCRIPTION_ID') }}
         resource_group: {{ openshift_azure_output_image_ns }}
       dest: /etc/origin/image.yml