summaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/allinone.tmpl
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-06-09 07:26:19 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-09 07:26:19 +0000
commitdcce2491af9015d6d903d784ae1c145f329ece43 (patch)
tree617c90be07cccce7407598d66398536999344116 /deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/allinone.tmpl
parent8ed47ae6ab2e57a37cd90707adcd0b2ea53362a1 (diff)
parentd635bd1f5762acd78545b650b2f55c112643b486 (diff)
Merge "support Containerized compass-core"
Diffstat (limited to 'deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/allinone.tmpl')
-rwxr-xr-xdeploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/allinone.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/allinone.tmpl b/deploy/compass_conf/templates/ansible_installer/openstack_ocata/hosts/allinone.tmpl
new file mode 100755
index 00000000..b777815e
--- /dev/null
+++ b/deploy/compass_conf/templates/ansible_installer/openstack_ocata/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