redhat-openstack / tripleo-quickstart

Ansible roles for setting up TripleO virtual environments and building images
16 stars 15 forks source link

Create an optional bootstrap playbook #2

Closed trown closed 8 years ago

trown commented 8 years ago

The instructions have become a bit long with the need to pre-download the image. It would be good to codify these extra steps into a "bootstrap" playbook that is run if a --boostrap option is passed to the quickstart.sh.

Ideally we would want things to work with just:

export VIRTHOST='foo.example.com' quickstart.sh --bootstrap

trown commented 8 years ago

It would also be good to add all of the non-idempotent stuff to the --bootstrap playbook or even just a bootstrap function in quickstart.sh. For example, the git clone of this repo.

trown commented 8 years ago

The non-idempotent step part of this is resolved by https://github.com/redhat-openstack/tripleo-quickstart/commit/5eac09bf7015b7427ec4385ef24385546c5d8763

working on more robust image download in https://review.gerrithub.io/#/c/261972/

trown commented 8 years ago

quickstart.sh has a transparent bootstrap function since: https://github.com/redhat-openstack/tripleo-quickstart/commit/5eac09bf7015b7427ec4385ef24385546c5d8763 image downloading has been greatly improved by: https://github.com/redhat-openstack/tripleo-quickstart/commit/1edd6cba7df6ce6db208f8a573360ee97b556ad0