From e83a494e41133f0dd36bf84b7315b3231ba9e11b Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 22 Apr 2014 13:03:06 -0500 Subject: [PATCH] Make sure VARS_CACHE for hosts are updated with the play vars too Fixes #6979 --- lib/ansible/playbook/play.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index 386170be78c..58f56db2302 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -855,4 +855,5 @@ class Play(object): # finally, update the VARS_CACHE for the host, if it is set if host is not None: + self.playbook.VARS_CACHE[host].update(self.vars) self.playbook.VARS_CACHE[host].update(self.playbook.extra_vars)