summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use
diff options
context:
space:
mode:
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
===================