diff --git a/plugins/connection/aws_ssm.py b/plugins/connection/aws_ssm.py index 4f13b0653cb..0dae5092876 100644 --- a/plugins/connection/aws_ssm.py +++ b/plugins/connection/aws_ssm.py @@ -749,8 +749,8 @@ def _post_process(self, stdout, mark_begin): stdout = stdout[:stdout.rfind(mark_begin)] # fmt: skip # If the return code contains #CLIXML (like a progress bar) remove it - # clixml_filter = re.compile(r"#<\sCLIXML\s") - # stdout = clixml_filter.sub("", stdout) + clixml_filter = re.compile(r"#<\sCLIXML\s") + stdout = clixml_filter.sub("", stdout) # If it looks like JSON remove any newlines if stdout.startswith("{"):