bifrost/playbooks/install.yaml
stephane ff600a5033 Move diskimage-builder and bootable image creation to roles
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
2015-07-08 12:47:36 -07:00

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') }}"