diff --git a/v2/ansible/playbook/block.py b/v2/ansible/playbook/block.py index defb8d9f221..f8fc6836940 100644 --- a/v2/ansible/playbook/block.py +++ b/v2/ansible/playbook/block.py @@ -61,7 +61,7 @@ class Block(Base, Become, Conditional, Taggable): if self._task_include: all_vars.update(self._task_include.get_vars()) - all_vars.update(self._vars) + all_vars.update(self.vars) return all_vars @staticmethod