Correct reference to deploy_image variable in install playbook

The install playbook was creating an incorrectly-named image.
Fix the reference to the variable so that the image is named
correctly.

Depends-On: Ica0879b7b6c3bdbf7a520a6e746b5d1cc670fe61
Change-Id: Ib7e7920fafe18ec64211c02e54e734ad874cc236
Closes-Bug: 1478970
This commit is contained in:
stephane 2015-07-28 14:46:14 -07:00 committed by Julia Kreger
parent c41574f0b4
commit e52869e311

View File

@ -7,7 +7,7 @@
roles: roles:
- { role: bifrost-prep-for-install, when: skip_install is not defined } - { role: bifrost-prep-for-install, when: skip_install is not defined }
- ironic-install - ironic-install
- { role: bifrost-create-dib-image, dib_imagename: deploy_image, dib_imagetype: "qcow2", dib_os_element: "debian", dib_elements: "vm serial-console simple-init", when: create_image_via_dib == true and transform_boot_image == false } - { role: bifrost-create-dib-image, dib_imagename: "{{ deploy_image }}", dib_imagetype: "qcow2", dib_os_element: "debian", dib_elements: "vm serial-console simple-init", when: create_image_via_dib == true and transform_boot_image == false }
- { role: bifrost-create-bootable-image, when: create_image_via_dib == false and transform_boot_image == true } - { role: bifrost-create-bootable-image, when: create_image_via_dib == false and transform_boot_image == true }
environment: environment:
http_proxy: "{{ lookup('env','http_proxy') }}" http_proxy: "{{ lookup('env','http_proxy') }}"