Switch to using standalone role for image building
Building an undercloud image was not part of the spec for importing tripleo-quickstart. However, it is crucial for the CI that runs in RDO. Eventually, we should move the playbook responsible for image building out of this repo as well, but for now we just externalize the role it uses via ansible-galaxy. Change-Id: If440d25c0d1687fd9bfc9d78ae35a4547b6866e0
This commit is contained in:
parent
17b56555ea
commit
04f275a854
|
@ -0,0 +1,5 @@
|
|||
- name: image-build
|
||||
src: https://github.com/redhat-openstack/ansible-role-tripleo-image-build
|
||||
scm: git
|
||||
version: master
|
||||
|
|
@ -13,7 +13,15 @@
|
|||
hosts: virthost
|
||||
gather_facts: yes
|
||||
roles:
|
||||
- images/build
|
||||
- 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" }
|
||||
|
||||
- name: Publish Images
|
||||
hosts: virthost
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pbr>=1.6
|
||||
# ansible is pretty fragile, so we pin to an exact known good
|
||||
# release
|
||||
ansible==2.0.0
|
||||
ansible>=2.0.1
|
||||
netaddr>=0.7.18
|
||||
|
|
Loading…
Reference in New Issue