summaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2016-11-25 04:08:19 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2016-11-25 04:08:19 +0800
commitcceecd6920ae01d99dafb46d225f69e4546f278b (patch)
tree2cc1f2a0f3504b453685b6a18e1dd460c6e55dda /deploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl
parent7c6a13e3457ce64d4b840e3816215f2a758ed0bc (diff)
add compass-core conf/ into compass4nfv
JIRA: COMPASS-507 1.create deploy/compass_conf/ directory to keep local compass-core conf/ files. build.sh will add it into compass.iso 2.adjust conf files to support congress Change-Id: I91dde6f62f2385d1289a5cf9a39eafce945a1bc7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl')
-rwxr-xr-xdeploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl b/deploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl
new file mode 100755
index 00000000..b777815e
--- /dev/null
+++ b/deploy/compass_conf/templates/ansible_installer/openstack_newton_xenial/hosts/allinone.tmpl
@@ -0,0 +1,10 @@
+#set controllers = $getVar('allinone_compute', [])
+#if not $isinstance($controllers, list)
+ #set controllers = [$controllers]
+#end if
+# allinone
+#for controller in $controllers
+ #set controller_ip = $controller.management.ip
+ #set controller_hostname = $controller.hostname
+$controller_ip $controller_hostname
+#end for