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