From 704d1340fb09b5ffad0282bc143d41e2afebd0bf Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Tue, 16 May 2017 15:13:14 +0800 Subject: Add support for manually installed (not using installer) OPNFV pod Change-Id: I314882dd8a9e491f253f825a8da7ec4c91ed3321 Signed-off-by: Yujun Zhang --- resources/ansible_roles/qtip-workspace/files/template/hosts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'resources/ansible_roles/qtip-workspace/files/template/hosts') 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 -- cgit 1.2.3-korg