aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/qtip-workspace/files/template/setup.yml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/ansible_roles/qtip-workspace/files/template/setup.yml')
-rw-r--r--resources/ansible_roles/qtip-workspace/files/template/setup.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/resources/ansible_roles/qtip-workspace/files/template/setup.yml b/resources/ansible_roles/qtip-workspace/files/template/setup.yml
index a522d67b..d165a9fe 100644
--- a/resources/ansible_roles/qtip-workspace/files/template/setup.yml
+++ b/resources/ansible_roles/qtip-workspace/files/template/setup.yml
@@ -10,8 +10,14 @@
# Prepare connection to SUT (System Under Test)
---
-
-- hosts: [fuel-masters, apex-underclouds]
+{% if installer == 'manual' %}
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - debug: "msg='please add hosts to SUT group in `hosts` file manually.'"
+{% else %}
+- hosts: [{{ installer_master_group[installer] }}]
gather_facts: no
roles:
- { role: qtip, tasks: generate-inventory }
+{% endif %}