From a59819925579dc4a675fef76166b86f9363d7ace Mon Sep 17 00:00:00 2001 From: John Trowbridge Date: Thu, 19 Oct 2017 16:44:15 -0400 Subject: [PATCH] Add ability to build images to baremetal playbook This is the last step to be able to use the same playbook in all cases for OVB jobs. We default it inline to false, so that there is no behavior change for actual baremetal jobs. Change-Id: I70310bf09f181bacf0fc4956cb9be61e4cb4a976 --- playbooks/baremetal-quickstart-extras.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playbooks/baremetal-quickstart-extras.yml b/playbooks/baremetal-quickstart-extras.yml index 004776257..44bd50711 100644 --- a/playbooks/baremetal-quickstart-extras.yml +++ b/playbooks/baremetal-quickstart-extras.yml @@ -23,6 +23,15 @@ - { role: tripleo-validations, when: run_tripleo_validations|bool or run_tripleo_validations_negative_tests|bool} +- name: Build images for quickstart + hosts: undercloud + gather_facts: no + roles: + - { role: build-images, when: to_build|default(false)|bool } + tags: + - get-images + - images + - name: copy over config files hosts: undercloud gather_facts: no