mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 15:34:01 -07:00
parent
ebfd99e307
commit
e7d0c9f820
5 changed files with 33 additions and 35 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue