@Override @MessageSafe public void handleMessage(Message msg) { if (msg instanceof RunAnsibleMsg) { handle((RunAnsibleMsg) msg); } else { bus.dealWithUnknownMessage(msg); } }
if (!isNeedToDeploy(moduleName, src.getAbsolutePath())) { return;
placePip703(); placeAnsible196(); "fi", AnsibleConstant.PYPI_REPO), false); deployModule("ansible/zstacklib", "zstacklib.py"); } catch (IOException e) { throw new CloudRuntimeException(e);
arguments.put("zstack_root", AnsibleGlobalProperty.ZSTACK_ROOT); arguments.put("pkg_zstacklib", AnsibleGlobalProperty.ZSTACKLIB_PACKAGE_NAME); arguments.putAll(getVariables()); String playBookPath = msg.getPlayBookPath(); if (!playBookPath.contains("py")) {