From 27ae5dbb77a7e308a958c86f2439aea3bb31f829 Mon Sep 17 00:00:00 2001
From: Mohammed Naser <mnaser@vexxhost.com>
Date: Thu, 28 Mar 2019 21:18:36 -0400
Subject: [PATCH] ironic: deploy swift at the same time

This change deploys Swift if Ironic is requested to be deployed
as it has certain dependencies on it.

Change-Id: I6989a7ebc4d35216ec1a3f802204511fcdf360df
---
 tests/roles/bootstrap-host/vars/main.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/roles/bootstrap-host/vars/main.yml b/tests/roles/bootstrap-host/vars/main.yml
index 7ffdcd64eb..cc1214ac59 100644
--- a/tests/roles/bootstrap-host/vars/main.yml
+++ b/tests/roles/bootstrap-host/vars/main.yml
@@ -26,6 +26,9 @@ bootstrap_host_services: >-
   {%-     set _ = service_list.append('horizon') %}
   {%-   endif %}
   {%- endif %}
+  {%- if 'ironic' in scenario_list %}
+  {%-   set _ = service_list.extend(['swift']) %}
+  {%- endif %}
   {%- if 'translations' in scenario_list %}
   {%-   set _ = service_list.extend(['designate', 'heat', 'magnum', 'sahara', 'swift', 'trove']) %}
   {%- endif %}