diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-02-04 12:22:19 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-02-20 10:26:44 +0800 |
commit | e958f3c5db5dd095e0debcb64e1ae581c2966e07 (patch) | |
tree | a732a8e3aea26b7f8250b728261be98dae1b1120 /qtip/driver/ansible/ansible.py | |
parent | f2d021c72b38845954755bab54aa13b4b2aad725 (diff) |
code refactor: ansible playbook about system info
- use module yum and apt instead of shell command
- break sys_info_pbook.yaml into some small playbooks
Change-Id: I33b36fa826c0e668e4a74846ad4da7f4a245a33f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'qtip/driver/ansible/ansible.py')
-rw-r--r-- | qtip/driver/ansible/ansible.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qtip/driver/ansible/ansible.py b/qtip/driver/ansible/ansible.py new file mode 100644 index 00000000..cd17625d --- /dev/null +++ b/qtip/driver/ansible/ansible.py @@ -0,0 +1,14 @@ +############################################################################## +# Copyright (c) 2016 ZTE Corp and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +from qtip.driver.base import BaseDriver + + +class AnsibleDriver(BaseDriver): + """driver for running performance tests with Ansible""" |