From 9c7d9873957dac46090cf36006c495a810ebf5b7 Mon Sep 17 00:00:00 2001 From: osLEccse <35256191+osLEccse@users.noreply.github.com> Date: Tue, 9 Jan 2018 12:23:01 +0100 Subject: [PATCH] Update developing_api.rst (#34629) Module path needs to be array instead of a string variable in order to work. --- docs/docsite/rst/dev_guide/developing_api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/dev_guide/developing_api.rst b/docs/docsite/rst/dev_guide/developing_api.rst index 50057469be2..ce2a21955a2 100644 --- a/docs/docsite/rst/dev_guide/developing_api.rst +++ b/docs/docsite/rst/dev_guide/developing_api.rst @@ -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')