bifrost/playbooks/install.yaml
stephane e52869e311 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
2015-07-31 14:03:08 +00:00

15 lines
705 B
YAML

---
- hosts: localhost
name: "Install Ironic on the local host."
connection: local
sudo: yes
gather_facts: yes
roles:
- { role: bifrost-prep-for-install, when: skip_install is not defined }
- 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-bootable-image, when: create_image_via_dib == false and transform_boot_image == true }
environment:
http_proxy: "{{ lookup('env','http_proxy') }}"
https_proxy: "{{ lookup('env','https_proxy') }}"