shell quoting fixes

(edited author's original commit comment -- MPD)
This commit is contained in:
Matthew Williams 2012-03-30 09:18:10 -07:00 committed by Michael DeHaan
parent 99d5796605
commit ec6f488d1f
2 changed files with 11 additions and 4 deletions

View file

@ -293,7 +293,7 @@ class PlayBook(object):
async_seconds = int(task.get('async', 0)) # not async by default
async_poll_interval = int(task.get('poll', 10)) # default poll = 10 seconds
tokens = shlex.split(action)
tokens = shlex.split(action, posix=False)
module_name = tokens[0]
module_args = tokens[1:]