Use utils.combine_vars on vars_files data

Fixes #7345
pull/7391/head
James Cammarata 11 years ago
parent 809b931640
commit 187619c7fe

@ -785,7 +785,7 @@ class Play(object):
""" update a host's varscache with new var data """
data = utils.combine_vars(inject, data)
self.playbook.VARS_CACHE[host].update(data)
self.playbook.VARS_CACHE[host] = utils.combine_vars(self.playbook.VARS_CACHE.get(host, {}), data)
self.playbook.callbacks.on_import_for_host(host, filename4)
def process_files(filename, filename2, filename3, filename4, host=None):

Loading…
Cancel
Save