Remove extraneous . from VALID_FILE_EXTENSIONS
Otherwise if you «include_vars: vars.json», you get this error: "message": "/path/to/vars.json does not have a valid extension: yaml, yml, .json"
This commit is contained in:
parent
b0d81a43d7
commit
07756a4265
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class ActionModule(ActionBase):
|
||||||
def run(self, tmp=None, task_vars=None):
|
def run(self, tmp=None, task_vars=None):
|
||||||
""" Load yml files recursively from a directory.
|
""" Load yml files recursively from a directory.
|
||||||
"""
|
"""
|
||||||
self.VALID_FILE_EXTENSIONS = ['yaml', 'yml', '.json']
|
self.VALID_FILE_EXTENSIONS = ['yaml', 'yml', 'json']
|
||||||
if not task_vars:
|
if not task_vars:
|
||||||
task_vars = dict()
|
task_vars = dict()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue