From 8cc5df6f9e3222b827397367840fa6423130bb80 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Tue, 19 Dec 2017 17:26:29 +0800 Subject: Add a judgement to control the proxy jump configuration - Set a default value(True) to proxy_jump - For MCP, set proxy_jump to False. Because remote node can be directly connected from qtip container without proxy jump. Change-Id: I92214de984a0231ba4ba873f3a60cb12589ade28 Signed-off-by: zhihui wu --- qtip/ansible_library/modules/mcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtip') diff --git a/qtip/ansible_library/modules/mcp.py b/qtip/ansible_library/modules/mcp.py index 97ead724..43075fcd 100644 --- a/qtip/ansible_library/modules/mcp.py +++ b/qtip/ansible_library/modules/mcp.py @@ -80,7 +80,7 @@ def generate_inventory(nodes): } hosts['compute'].append(value['host']) - return {'hosts': hosts, 'hosts_meta': hosts_meta} + return {'hosts': hosts, 'hosts_meta': hosts_meta, 'proxy_jump': False} def main(): -- cgit 1.2.3-korg