From c45a8a462a02061d9f61515a5a7a14121809dafc Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 4 Dec 2017 11:49:05 -0800 Subject: [PATCH] deploy-steps.j2: use ansible to bootstrap environment We introduced a new Ansible role, tripleo-bootstrap: I560273be2ebe3a49ff37e3682222706939e5d879 This role will take care of preparing an environment that will deploy TripleO later. This patch aims to use execute this new role on all hosts. We don't gather_facts, (already gathered previously), we want to fail on any error and also the role will be executed on pre_deploy_steps tag. Change-Id: If9306473701a340d577bbe0a4a7dfee90be99c2f Depends-On: I560273be2ebe3a49ff37e3682222706939e5d879 --- common/deploy-steps.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index c740854618..4b25a16089 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -395,6 +395,14 @@ outputs: gather_facts: yes tags: - facts + - hosts: overcloud + name: Bootstrap TripleO servers + gather_facts: no + any_errors_fatal: yes + roles: + - tripleo-bootstrap + tags: + - bootstrap - hosts: overcloud name: Server deployments gather_facts: no