diff --git a/lib/ansible/modules/commands/command.py b/lib/ansible/modules/commands/command.py index 2b79b327d7..131fc4c7ff 100644 --- a/lib/ansible/modules/commands/command.py +++ b/lib/ansible/modules/commands/command.py @@ -127,9 +127,8 @@ OPTIONS = {'chdir': None, # the line is reached OPTIONS_REGEX = '|'.join(OPTIONS.keys()) PARAM_REGEX = re.compile( - r'(^|\s)({options_regex})=(?P[\'"])?(.*?)(?(quote)(?[\'"])?(.*?)(?(quote)(?