ff600a5033
Break out image creation via diskimage-builder into a separate role. Also break out create-bootable-image for consistency, though it is legacy stuff that we do not expect to use in future. In addition to the above, clean up a couple of typos, etc. in the adjacent code and documentation. Implements: blueprint bifrost-deployment-image Change-Id: If3dbfa6a6b4e3f6eee9b614342dbf5bccadfbd65
15 lines
571 B
YAML
15 lines
571 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, 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') }}"
|