From 4d6afc67be818b5306dee035a32260c26694acf8 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Wed, 17 Aug 2016 11:10:35 -0400 Subject: [PATCH] Start using orchestration_engine variable This PS switches to use orchestration_engine variable to differentiate between ansible and kubernetes when generating configs. TrivialFix Change-Id: I8e566a9995f49e924614331458d0c81b9925e543 --- ansible/roles/neutron/templates/openvswitch-db-server.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/neutron/templates/openvswitch-db-server.json.j2 b/ansible/roles/neutron/templates/openvswitch-db-server.json.j2 index ebabe280f5..d352d92977 100644 --- a/ansible/roles/neutron/templates/openvswitch-db-server.json.j2 +++ b/ansible/roles/neutron/templates/openvswitch-db-server.json.j2 @@ -1,4 +1,4 @@ { - "command": "start-ovsdb-server {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} {% if keystone_replicas is defined %} {{ neutron_bridge_name }} {{ neutron_external_interface }} {% endif %}", + "command": "start-ovsdb-server {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} {% if orchestration_engine == 'KUBERNETES' %} {{ neutron_bridge_name }} {{ neutron_external_interface }} {% endif %}", "config_files": [] }