Re-add vars to Base and standardize var processing

Fixes #11779
This commit is contained in:
James Cammarata 2015-08-07 00:05:42 -04:00
commit e7d0c9f820
5 changed files with 33 additions and 35 deletions

View file

@ -53,7 +53,7 @@ class Block(Base, Become, Conditional, Taggable):
of a role or task include which does, so return those if present.
'''
all_vars = dict()
all_vars = self.vars.copy()
if self._role:
all_vars.update(self._role.get_vars(self._dep_chain))