Commit 6eac47e5 by James Cammarata

Use split_args instead of shlex.split for included params

Fixes #8296
parent a8c2d6ac
...@@ -524,7 +524,7 @@ class Play(object): ...@@ -524,7 +524,7 @@ class Play(object):
task_vars['_original_file'] = original_file task_vars['_original_file'] = original_file
if 'include' in x: if 'include' in x:
tokens = shlex.split(str(x['include'])) tokens = utils.splitter.split_args(str(x['include']))
included_additional_conditions = list(additional_conditions) included_additional_conditions = list(additional_conditions)
include_vars = {} include_vars = {}
for k in x: for k in x:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment