summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-04-06 11:36:04 -0600
committerspisarski <s.pisarski@cablelabs.com>2017-04-06 11:36:04 -0600
commit056dca0ddc0521adba2423fbf4b4e5362e1b3d45 (patch)
treecd759f24bb8b02871aa88f7437ff58b0f8ba5b4a /docs/how-to-use
parentb3106eca334e09501cd62739157ae805ee76ff6c (diff)
Call to ansible_utils.apply_playbook needed named paramteters.
Change-Id: I4454a0598df4e630a4588f7c0d4af108e8747a46 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'docs/how-to-use')
-rw-r--r--docs/how-to-use/LibraryUsage.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/how-to-use/LibraryUsage.rst b/docs/how-to-use/LibraryUsage.rst
index 31d003a..36d4b9c 100644
--- a/docs/how-to-use/LibraryUsage.rst
+++ b/docs/how-to-use/LibraryUsage.rst
@@ -480,8 +480,9 @@ Apply Ansible Playbook Utility
from snaps.provisioning import ansible_utils
- ansible_utils.apply_playbook('provisioning/tests/playbooks/simple_playbook.yml', [ip], user, priv_key,
- proxy_setting=self.os_creds.proxy_settings)
+ ansible_utils.apply_playbook(playbook_path='provisioning/tests/playbooks/simple_playbook.yml',
+ hosts_inv=[ip], host_user=user, ssh_priv_key_file_path=priv_key,
+ proxy_setting=self.os_creds.proxy_settings)
OpenStack Utilities
===================