bifrost/playbooks/install.yaml
Julia Kreger b555c8633b Cleanup use of extra_dib_elements
Removed extra_dib_elements option from the disk image building role
and created a default variable entry in the installation and test
playbooks to allow a user to manually trigger the behavior.

Change-Id: I707f1fd25cf9a6cec4f70a6d65d89d4363d69153
2015-07-31 16:32:03 +00:00

15 lines
742 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 {{ extra_dib_elements|default('') }}", 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') }}"