Update developing_api.rst (#34629)
Module path needs to be array instead of a string variable in order to work.
This commit is contained in:
parent
7d037991a3
commit
9c7d987395
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ In 2.0 things get a bit more complicated to start, but you end up with much more
|
|||
Options = namedtuple('Options', ['connection', 'module_path', 'forks', 'become', 'become_method', 'become_user', 'check', 'diff'])
|
||||
# initialize needed objects
|
||||
loader = DataLoader()
|
||||
options = Options(connection='local', module_path='/path/to/mymodules', forks=100, become=None, become_method=None, become_user=None, check=False,
|
||||
options = Options(connection='local', module_path=['/path/to/mymodules'], forks=100, become=None, become_method=None, become_user=None, check=False,
|
||||
diff=False)
|
||||
passwords = dict(vault_pass='secret')
|
||||
|
||||
|
|
Loading…
Reference in a new issue