mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
dd932c9ace
commit
e9a5c53512
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,8 @@ class Play(Base, Taggable, Become):
|
||||||
def get_vars_files(self):
|
def get_vars_files(self):
|
||||||
if self.vars_files is None:
|
if self.vars_files is None:
|
||||||
return []
|
return []
|
||||||
|
elif not isinstance(self.vars_files, list):
|
||||||
|
return [self.vars_files]
|
||||||
return self.vars_files
|
return self.vars_files
|
||||||
|
|
||||||
def get_handlers(self):
|
def get_handlers(self):
|
||||||
|
|
Loading…
Reference in a new issue