Refactor dhrystone playbook 29/29629/3
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Thu, 2 Mar 2017 10:40:11 +0000 (18:40 +0800)
committerzhihui wu <zhihui.wu2006+zte@gmail.com>
Fri, 3 Mar 2017 00:53:59 +0000 (00:53 +0000)
commit7433b1c89e2ffba3b097832f353146f12987e6dd
tree2e99d8a91417414d4cce6dd299d918a604e4d206
parent473deae9a10162f000c49ca49b4e31b28c4bf0d8
Refactor dhrystone playbook

- Break previous one playbook into three playbooks:
    setup.yaml: setup test environment.
    run.yaml: execute test steps
    clean.yaml: cleanup test environment to restore
    environment
  The advantage is cleaning part will never be blocked by another.
- Just do testing on remote hosts, parse logfile on localhost.
- Use ansible module instead of shell command.
- Move up all files under /ansible and remove ansible directory.
  Under /ansible, ansible package cann't be imported.

Change-Id: I43c65be23869b7d42ca769994d4decb9a012d196
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
qtip/driver/ansible.py [moved from qtip/driver/ansible/ansible.py with 100% similarity]
qtip/driver/ansible/__init__.py [deleted file]
qtip/driver/playbook/bwn_ng.yaml [moved from qtip/driver/ansible/playbook/bwn_ng.yaml with 100% similarity]
qtip/driver/playbook/dhrystone/clean.yaml [new file with mode: 0644]
qtip/driver/playbook/dhrystone/run.yaml [new file with mode: 0644]
qtip/driver/playbook/dhrystone/setup.yaml [new file with mode: 0644]
qtip/driver/playbook/inxi.yaml [moved from qtip/driver/ansible/playbook/inxi.yaml with 100% similarity]
qtip/driver/playbook/prepare_env.yaml [moved from qtip/driver/ansible/playbook/prepare_env.yaml with 84% similarity]
qtip/driver/playbook/top.yaml [moved from qtip/driver/ansible/playbook/top.yaml with 100% similarity]