mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Adding v2 task/block iterator and some reorganizing
This commit is contained in:
parent
5a4a212869
commit
24bebd85b4
25 changed files with 358 additions and 49 deletions
|
@ -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 '''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue