1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Make sure VARS_CACHE for hosts are updated with the play vars too

Fixes #6979
This commit is contained in:
James Cammarata 2014-04-22 13:03:06 -05:00
parent a6068b09ac
commit e83a494e41

View file

@ -855,4 +855,5 @@ class Play(object):
# finally, update the VARS_CACHE for the host, if it is set # finally, update the VARS_CACHE for the host, if it is set
if host is not None: if host is not None:
self.playbook.VARS_CACHE[host].update(self.vars)
self.playbook.VARS_CACHE[host].update(self.playbook.extra_vars) self.playbook.VARS_CACHE[host].update(self.playbook.extra_vars)