Adding v2 task/block iterator and some reorganizing

This commit is contained in:
James Cammarata 2014-11-06 13:14:38 -06:00
commit 24bebd85b4
25 changed files with 358 additions and 49 deletions

View file

@ -148,6 +148,10 @@ class DataLoader():
raise AnsibleParserError(YAML_SYNTAX_ERROR, obj=err_obj, show_content=show_content)
def get_basedir(self):
''' returns the current basedir '''
return self._basedir
def set_basedir(self, basedir):
''' sets the base directory, used to find files when a relative path is given '''