bugfix for extra-vars

This commit is contained in:
Matthew Williams 2012-04-02 14:54:23 -07:00
parent 5764ccdb0e
commit c742b8eb0b

View file

@ -450,7 +450,7 @@ class PlayBook(object):
SETUP_CACHE[host] = result SETUP_CACHE[host] = result
if self.extra_vars: if self.extra_vars:
extra_vars = utils.parse_kv(shlex.split(self.extra_vars)) extra_vars = utils.parse_kv(self.extra_vars)
for h in self.host_list: for h in self.host_list:
try: try:
SETUP_CACHE[h].update(extra_vars) SETUP_CACHE[h].update(extra_vars)