summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ms/command-executor/src/main/python/command_executor_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/command-executor/src/main/python/command_executor_handler.py b/ms/command-executor/src/main/python/command_executor_handler.py
index a862559cf..eb39f07a4 100644
--- a/ms/command-executor/src/main/python/command_executor_handler.py
+++ b/ms/command-executor/src/main/python/command_executor_handler.py
@@ -241,7 +241,7 @@ class CommandExecutorHandler():
### if properties are defined we add them to the command
properties = ""
if request.properties is not None and len(request.properties) > 0:
- properties = " " + re.escape(MessageToJson(request.properties))
+ properties = " " + re.escape(MessageToJson(request.properties)).replace('"','\\"')
### TODO: replace with os.environ['VIRTUAL_ENV']?
if "ansible-playbook" in request.command: