26 lines
778 B
YAML
26 lines
778 B
YAML
---
|
|
- name: Add virthost to inventory
|
|
hosts: localhost
|
|
roles:
|
|
- provision/local
|
|
|
|
- name: Add the virthost node to the generated inventory
|
|
hosts: localhost
|
|
gather_facts: true
|
|
roles:
|
|
- tripleo-inventory
|
|
|
|
- name: Setup the virthost to build images then build them
|
|
hosts: virthost
|
|
gather_facts: true
|
|
roles:
|
|
- parts/kvm
|
|
- parts/libvirt
|
|
# TODO(trown): It is not ideal that we need to set this
|
|
# variable directly on the role. However, we have the
|
|
# same variable used in the tripleo-quickstart roles
|
|
# with a different meaning. We should namespace the
|
|
# variables better so that they can both be set separately
|
|
# in a config file or extra-vars passed to ansible.
|
|
- {role: "image-build", working_dir: "/var/lib/oooq-images"}
|