mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
fa63e9ce1f
commit
94fc3006e9
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Play(object):
|
|||
if type(self.vars) not in [dict, list]:
|
||||
raise errors.AnsibleError("'vars' section must contain only key/value pairs")
|
||||
|
||||
vars = self.playbook.global_vars
|
||||
vars = {}
|
||||
|
||||
# translate a list of vars into a dict
|
||||
if type(self.vars) == list:
|
||||
|
|
Loading…
Reference in a new issue