aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/qtip-workspace/files/template/hosts
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-16 15:13:14 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-05-16 15:13:47 +0800
commit704d1340fb09b5ffad0282bc143d41e2afebd0bf (patch)
tree9434d101b7d091c09f9ff77b50b63c5fa241d43a /resources/ansible_roles/qtip-workspace/files/template/hosts
parent7e87b22284cc322bc9effdd8c610f659692249d1 (diff)
Add support for manually installed (not using installer) OPNFV pod
Change-Id: I314882dd8a9e491f253f825a8da7ec4c91ed3321 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/qtip-workspace/files/template/hosts')
-rw-r--r--resources/ansible_roles/qtip-workspace/files/template/hosts9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/ansible_roles/qtip-workspace/files/template/hosts b/resources/ansible_roles/qtip-workspace/files/template/hosts
index b8b4bbe6..b8b256a9 100644
--- a/resources/ansible_roles/qtip-workspace/files/template/hosts
+++ b/resources/ansible_roles/qtip-workspace/files/template/hosts
@@ -1,4 +1,13 @@
localhost ansible_connection=local
+{% if installer != 'manual' %}
[{{ installer_master_group[installer] }}]
{{ installer_master_host }}
+{% else %}
+[SUT]
+# Add hosts in system under test, example::
+#
+# host-1 ansible_host=192.168.10.1 ansible_host=22 ansile_user=root
+#
+# See http://docs.ansible.com/ansible/intro_inventory.html for details
+{% endif %} \ No newline at end of file